GHSA-2g6r-c272-w58r · Severity: low · Ecosystem: pip — LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages
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.
Conclusion & alert: CVE-2026-26013 is rated Low Risk (15.8/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-18 | 0.05% | 0.01% | -0.04% |
| 2 | 2026-02-16 | 0.04% | 0.05% | +0.01% |
| 3 | 2026-02-11 | — | 0.04% | — |
Full EPSS history (3 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 3.7 | 3.1 | LOW |
|
2.2 | 1.4 | [email protected] |
GHSA-2g6r-c272-w58r · Severity: low · Ecosystem: pip — LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
low | — | https://access.redhat.com/security/cve/CVE-2026-26013 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| langchain | langchain_core | < 1.2.11 | cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:* |
| URL | Tags |
|---|---|
| https://github.com/langchain-ai/langchain/commit/2b4b1dc29a833d4053deba4c2b77a3848c834565 | Patch |
| https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.11 | Product Release Notes |
| https://github.com/langchain-ai/langchain/security/advisories/GHSA-2g6r-c272-w58r | Mitigation Vendor Advisory |