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

 

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

Published: April 20, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to disclose limited sensitive information.

The vulnerability exists due to server-side request forgery (SSRF) in the _url_to_size() helper when validating a URL and then fetching it with separate DNS resolution during image token counting. A remote attacker can use an attacker-controlled hostname with DNS rebinding to disclose limited sensitive information.

User interaction is required, and the issue is limited to blind probing based on timing or error behavior because fetched response content is not returned, logged, or otherwise exposed to the caller.


Affected software

LangChain
IBM Business Automation Workflow

How to mitigate CVE-2026-41488

Install security update from vendor's website.

LangChain - update to 1.2.0
IBM Business Automation Workflow - addressed in versions 24.0.0-IF009, 24.0.1-IF008, 25.0.0-IF005, 26.0.0.0

External References

Related Security Bulletins