CVE-2026-26019: medium-severity vulnerability in langchain-ai langchainjs
@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 4.1epss 0.4%
LangChain is a framework for building LLM-powered applications. Prior to 1.1.14, the RecursiveUrlLoader class in @langchain/community is a web crawler that recursively follows links from a starting URL. Its preventOutside option (enabled by default) is intended to restrict crawling to the same site as the base URL. The implementation used String.startsWith() to compare URLs, which does not perform semantic URL validation. An attacker who controls content on a crawled page could include links to domains that share a string prefix with the target, causing the crawler to follow links to attacker-controlled or internal infrastructure. Additionally, the crawler performed no validation against private or reserved IP addresses. A crawled page could include links targeting cloud metadata services, localhost, or RFC 1918 addresses, and the crawler would fetch them without restriction. This vulnerability is fixed in 1.1.14.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
Affected products
langchain-ai · langchainjsRelated CVEs — langchain-ai langchainjs
In the same product, most dangerous first.
CVE-2025-68665HIGHLangChain serialization injection vulnerability enables secret extractionEPSS 0.8%CVE-2026-106119MEDIUMLangChain: MongoDBChatMessageHistory query injection can allow cross-session accessEPSS 0.5%CVE-2026-105799LOWLangChain: RediSearch Filter Injection via Unescaped Tag/Text ValuesEPSS 0.3%CVE-2026-27795MEDIUMLangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoaderEPSS 0.3%
References
https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9dhttps://github.com/langchain-ai/langchainjs/pull/9990https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7