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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.1
- **CVSS:** 4.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-918
- **Aliases:** GHSA-gf3v-fwqg-4vh7
- **Published:** 2026-02-11T15:13:20.000Z
- **Modified:** 2026-09-10T03:50:35.047Z

## Who should check

- Projects that depend on npm package @langchain/community (\< 1.1.14)
- Anyone running langchain-ai langchainjs \< 1.1.14

## 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 and fixed versions

- npm `@langchain/community`: affected \< 1.1.14; fixed 1.1.14 (osv)
- langchain-ai langchainjs: \< 1.1.14 (cvelist)

## Mitigation

- Upgrade @langchain/community to 1.1.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-26019. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-26019.md
Affected: @langchain/community < 1.1.14
Fixed in: 1.1.14

Steps:
1. Search this machine and project for @langchain/community (npm), langchain-ai langchainjs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-26019 being exploited?

There is no confirmed exploitation: CVE-2026-26019 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-26019?

Medium: CVSS 4.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-26019?

@langchain/community \< 1.1.14.

### Is there a fix for CVE-2026-26019?

Yes. Fixed in 1.1.14. Upgrade @langchain/community to 1.1.14 or later.

### How do I check if I'm affected by CVE-2026-26019?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3v-fwqg-4vh7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-26019>
- patch: <https://github.com/langchain-ai/langchainjs/pull/9990>
- patch: <https://github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a875805b2f74aefdadf9d>
- other: <https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fcommunity%401.1.14>
- other: <https://github.com/langchain-ai/langchainjs>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-26019>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-gf3v-fwqg-4vh7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-26019> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-26019>
