CVE & CISA-KEV Catalog

CVE-2026-27795

MEDIUM
4.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
langchain communityNVD
Affected:< 1.1.18Fixed in:1.1.18CVE-2026-27795derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N

Exploit Intelligence

0.21%probability of exploitation in 30 days
11thpercentile

Low risk: more likely to be exploited than 11% of all known CVEs.

References

Vendor Advisory1
Issue Tracking1
Release Notes2
Other references1

Related Vulnerabilities

Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-21893High8.2100%KEV + Ransom-
CVE-2021-40438Critical9.0100%KEVFix
CVE-2021-34473Critical9.1100%KEV + RansomFix
CVE-2021-26855Critical9.1100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2022-41040High8.8100%KEV + RansomFix
Embed a live status badge for CVE-2026-27795
CVE-2026-27795 severity badge

Markdown

[![CVE-2026-27795](https://tridentstack.com/cve/badge/CVE-2026-27795.svg)](https://tridentstack.com/cve/CVE-2026-27795)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-27795"><img src="https://tridentstack.com/cve/badge/CVE-2026-27795.svg" alt="CVE-2026-27795"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-13.