CVE-2026-26019
MEDIUM 4.1CVSS 3.1@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation
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.
- Published
- 11 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-gf3v-fwqg-4vh7
- Sources
- NVDJSONOSV GHSA-gf3v-fwqg-4vh7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchain_communitycpe:2.3:a:langchain:langchain_community:*:*:*:*:*:node.js:*:* |
< 1.1.14 | 1.1.14 |
| OSV | npm | @langchain/community | < 1.1.14 | 1.1.14 |
References
- https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d · Patch, WEB
- https://github.com/langchain-ai/langchainjs/pull/9990 · Issue Tracking, Patch, WEB
- https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14 · Release Notes, WEB
- https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-26019 · ADVISORY
- https://github.com/langchain-ai/langchainjs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 11 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 Feb 2026)