PT-2026-21972

CVE-2026-27795

·

Published

2026-02-11

·

Updated

2026-09-18

Description by

CVSS 3.1
7.4
High
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions LangChain versions prior to 1.1.18 @langchain/community versions prior to 1.1.18
Description A redirect-based Server-Side Request Forgery (SSRF) bypass exists in the RecursiveUrlLoader within the @langchain/community package. The loader initially validates the URL, but the underlying fetch mechanism automatically follows redirects without revalidation. This allows a transition from a safe public URL to an internal or metadata endpoint, bypassing existing SSRF protections. An attacker who can influence the content of a crawled page can cause the crawler to fetch cloud instance metadata, access internal services on private networks, connect to localhost services, or exfiltrate response data. The preventOutside option is insufficient to prevent this bypass when redirects are followed automatically. The issue stems from the fact that SSRF validation is only performed on the initial URL and redirects are followed automatically by the fetch function without additional validation.
Recommendations Upgrade to @langchain/community version 1.1.18 or later, which disables automatic redirects and re-validates Location targets before following them.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-GF3V-FWQG-4VH7
GHSA-MPHV-75CG-56WG
CLEANSTART-2026-UF69839
ECHO-70CE-6DBC-A4C4
Found an issue in the description? Have something to add? Feel free to write us 👾