Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-26019

MEDIUM 4.1EPSS 28%

@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation

Also known as GHSA-gf3v-fwqg-4vh7

Mitigation

  • Upgrade @langchain/community to 1.1.14 or later.

Who should check

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

Vulnerability facts

Affected
@langchain/community < 1.1.14
Fixed in
1.1.14
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 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
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-918
Published
Modified

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

Package / productAffectedFixedSource
npm @langchain/community< 1.1.141.1.14osv
langchain-ai langchainjs< 1.1.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors