CVE-2026-26019: langchain-ai langchainjs · Server-Side Request Forgery (SSRF)
Affects langchain-ai langchainjsSource CVE Database V5
Not known to be exploited · CVSS 4.1 Medium : upgrade to 1.1.14 when convenient.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.1.14
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade langchain-ai langchainjs to 1.1.14.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| langchain-ailangchainjs | Affected
| Fixed in
|
AI-suggested
Upgrade langchainjs to version 1.1.14 or later, where the vulnerability is fixed with proper semantic URL validation and restrictions on private IP addresses. If upgrading is not immediately possible, implement strict network-level controls to prevent the application from accessing internal IP ranges, localhost addresses, and cloud metadata service endpoints. Employ web application firewalls (WAFs) or proxy filtering to block suspicious outbound requests initiated by the crawler. Review and sanitize all content that the crawler processes to minimize the risk of attacker-controlled links. Additionally, configure the crawler to disable or limit recursive crawling where feasible, and monitor logs for unusual outbound requests to internal or unexpected destinations. Conduct regular security assessments on applications using langchainjs to detect potential SSRF exploitation attempts.
Description
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.
References
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7 (opens in a new tab)
- github.com/langchain-ai/langchainjs/pull/9990 (opens in a new tab)
- github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d (opens in a new tab)
- github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14 (opens in a new tab)