CVE-2026-27795: LangChain Community: redirect chaining can lead to SSRF bypass via RecursiveUrlLoader
langchain-ai · langchainjs
Affected: langchain-ai langchainjs · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 16% of scored CVEs
DescriptionCVE.org
LangChain is a framework for building LLM-powered applications. Prior to version 1.1.8, a redirect-based Server-Side Request Forgery (SSRF) bypass exists in `RecursiveUrlLoader` in `@langchain/community`. The loader validates the initial URL but allows the underlying fetch to follow redirects automatically, which permits a transition from a safe public URL to an internal or metadata endpoint without revalidation. This is a bypass of the SSRF protections introduced in 1.1.14 (CVE-2026-26019). Users should upgrade to `@langchain/community` 1.1.18, which validates every redirect hop by disabling automatic redirects and re-validating `Location` targets before following them. In this version, automatic redirects are disabled (`redirect: "manual"`), each 3xx `Location` is resolved and validated with `validateSafeUrl()` before the next request, and a maximum redirect limit prevents infinite loops.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- langchain-ai · langchainjs< 1.1.18
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Weakness
- Server-Side Request Forgery
- Vendor
- langchain-ai
- Published
- February 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-27795 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-918cwe.mitre.org
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-mphgithub.com
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-gf3github.com
- github.com/langchain-ai/langchainjs/pull/9990github.com
- github.com/langchain-ai/langchainjs/commit/2812d2b2b9fd9343c4850github.com
- github.com/langchain-ai/langchainjs/commit/d5e3db0d01ab321ec70a8github.com
- github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fgithub.com
- github.com/langchain-ai/langchainjs/releases/tag/%40langchain%2Fgithub.com