@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| langchain-ai | langchainjs | before 1.1.14 | 1.1.14 | Patch available | CNA |
| — | @langchain/community (npm) | before 1.1.14 | 1.1.14 | Patch available | GHSA-gf3v-fwqg-4vh7 |
- langchainjs Vendorlangchain-ai Affected before 1.1.14 Fixed in 1.1.14 Patch available CNA
- @langchain/community (npm) Vendor— Affected before 1.1.14 Fixed in 1.1.14 Patch available GHSA-gf3v-fwqg-4vh7
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:langchain:langchain_community:*:*:*:*:*:node.js:*:* | before 1.1.14 | Vulnerable | langchain-ai |
- cpe:2.3:a:langchain:langchain_community:*:*:*:*:*:node.js:*:* Versions before 1.1.14 Vulnerable ·langchain-ai
Remediation
- Fix · CNA langchainjs (langchain-ai) Fixed in 1.1.14
- Fix · GHSA-gf3v-fwqg-4vh7 @langchain/community (npm) Fixed in 1.1.14 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-26019
- 2026-10-03 Alias added: GHSA-gf3v-fwqg-4vh7
References
Patch 2
Advisory 2
More langchain-ai Langchain Community vulnerabilities
- TI-2026-22149 LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader CVSS 3.1HIGH 7.4
Sources
- CVE-2026-26019 · CVE Program
- CVE-2026-26019 · NVD
- FIRST EPSS
- GHSA-gf3v-fwqg-4vh7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-26019 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences