Web Crawler Vulnerability in LangChain Framework by LangChain AI
CVE-2026-26019
What is CVE-2026-26019?
The LangChain framework's RecursiveUrlLoader class contains a vulnerability that allows an attacker to exploit the URL comparison method used for crawling. The crawler's preventOutside option fails to adequately restrict linking to the same site due to its reliance on String.startsWith(), which does not ensure semantic URL validation. This oversight enables attackers to craft links with shared string prefixes, leading the crawler to venture into unauthorized domains. Additionally, it lacks validation against private or reserved IP addresses, allowing access to sensitive cloud metadata services or internal infrastructures. This issue was resolved in version 1.1.14.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
langchainjs < 1.1.14
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
