# CVE-2026-26019: @langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation

> CVE-2026-26019: @langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation. CVSS 4.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-26019
Last updated: 2026-06-17T10:25:36Z

- Published: 2026-02-11 21:11 UTC · Updated: 2026-06-17 10:25 UTC · Assigner: GitHub\_M
- CVSS: 4.1 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
- EPSS: 0.40%, 34th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-918

## 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.

## Affected vendors and products

- langchain-ai: langchainjs

## Tracked companies

- [LangChain (LangSmith)](https://rewindex.com/company/langchain-langsmith.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-26019)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-26019)
- [https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d](https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d)
- [https://github.com/langchain-ai/langchainjs/pull/9990](https://github.com/langchain-ai/langchainjs/pull/9990)
- [https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14](https://github.com/langchain-ai/langchainjs/releases/tag/%2540langchain%252Fcommunity%25401.1.14)
- [https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7](https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-26019 · Markdown: https://rewindex.com/cve/CVE-2026-26019.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-26019 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:38.859Z
