Skip to main content
← All vulnerabilities
CVE-2026-26019GHSA-GF3V-FWQG-4VH7

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.14
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • langchain-ai langchainjs

    fixed in 1.1.14

  • @langchain/communitynpm

    fixed in 1.1.14

References 4

GitHub · langchain-ai/langchainjs