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

- Severity: Medium 4.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-02-11T15:13:20.000Z
- Modified: 2026-09-10T03:50:35.047Z
- Also known as: GHSA-gf3v-fwqg-4vh7
- Related: CVE-2026-27795
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- langchain-ai langchainjs: < 1.1.14
- @langchain/community (npm): before 1.1.14
- langchain langchain_community: before 1.1.14

## Every score

- GitHub_M: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.1 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N`

## References

- <https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7> (vendor-advisory, web)
- <https://github.com/langchain-ai/langchainjs/pull/9990> (issue-tracking, patch, web)
- <https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d> (patch, web)
- <https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26019> (advisory)
- <https://github.com/langchain-ai/langchainjs> (package)

## Sources

- CVE List: [CVE-2026-26019](https://www.cve.org/CVERecord?id=CVE-2026-26019), CVE Terms of Use, modified 2026-02-12
- GitHub Advisory Database: [GHSA-gf3v-fwqg-4vh7](https://github.com/advisories/GHSA-gf3v-fwqg-4vh7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-26019](https://nvd.nist.gov/vuln/detail/CVE-2026-26019), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26019 · Whole record: https://cve.day/CVE-2026-26019.json · Rebuilt by cve.day 2026-11-25T22:59:13.786Z
