Server-Side Request Forgery (SSRF) in LangChain - CVE-2026-41481

 

Server-Side Request Forgery (SSRF) in LangChain - CVE-2026-41481

Published: April 20, 2026


Vulnerability identifier: #VU126568
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41481
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to server-side request forgery in HTMLHeaderTextSplitter.split_text_from_url() when following redirect responses during URL fetching. A remote attacker can supply a URL that redirects to an internal, localhost, or cloud metadata endpoint to disclose sensitive information.

User interaction is required because the application must process an attacker-supplied URL, and data exposure depends on the application returning parsed Document contents or derivatives to the requester. Cloud metadata endpoints that require special headers are not reachable through this issue, but headerless endpoints such as AWS IMDSv1 are reachable.


Affected software

LangChain
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data

How to mitigate CVE-2026-41481

Install security update from vendor's website.

LangChain - update to 1.1.2
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.4.0 Patch 3

External References

Related Security Bulletins