SB2026040980 - Server-Side Request Forgery (SSRF) in LangChain
Published: April 9, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2026-26013)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to server-side request forgery (ssrf) in ChatOpenAI.get_num_tokens_from_messages() when processing messages containing user-supplied image_url values for token counting. A remote attacker can supply a crafted image URL to cause a denial of service.
The issue is blind SSRF, and token counting may occur outside of model invocation such as in logging, metrics, or token budgeting flows.
Remediation
Install update from vendor's website.