CVE-2026-26013 affects LangChain versions prior to 1.2.11, specifically within the ChatOpenAI.get_num_tokens_from_messages() method. This vulnerability allows for Server-Side Request Forgery (SSRF) by enabling attackers to provide malicious image URLs, which are then fetched without validation when calculating token counts for vision-enabled models. The severity is rated as LOW (CVSS 3.7), indicating a network-based attack with high complexity and a potential impact of limited availability. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.2.11CPE matchmatch criteria | cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.3 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.