Ad

CVE-2026-26013

LOW CVSS 3.1: 3.7 EPSS 0.02%
Updated Mar 17, 2026
Langchain
Parameter Value
CVSS 3.7 (LOW)
Affected Versions before 1.2.11
Fixed In 1.2.11
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Langchain
Public PoC No

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.2.11, the ChatOpenAI.get_num_tokens_from_messages() method fetches arbitrary image_url values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery (SSRF) attacks by providing malicious image URLs in user input.

This vulnerability is fixed in 1.2.11.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Langchain Langchain_Core
cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*
1.2.11