CVE-2026-26013
CVE-2026-26013 is a low-severity vulnerability in Langchain Langchain Core with a CVSS 3.x base score of 3.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-918.
Key facts
- Severity: Low (CVSS 3.x base score 3.7)
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-6240
- Weakness: CWE-918
- Affected product: Langchain Langchain Core
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-26013?
- 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.
- How severe is CVE-2026-26013?
- CVE-2026-26013 has a CVSS 3.x base score of 3.7, rated low severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-26013 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-26013?
- CVE-2026-26013 affects Langchain Langchain Core. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-26013?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-26013 have an EU (EUVD) identifier?
- Yes. CVE-2026-26013 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-6240.
- When was CVE-2026-26013 published?
- CVE-2026-26013 was published on 2026-02-10 and last updated on 2026-06-17.
References
- https://github.com/langchain-ai/langchain/commit/2b4b1dc29a833d4053deba4c2b77a3848c834565
- https://github.com/langchain-ai/langchain/releases/tag/langchain-core%3D%3D1.2.11
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-2g6r-c272-w58r
Affected products (1)
- cpe:2.3:a:langchain:langchain_core:*:*:*:*:*:python:*:*
More vulnerabilities in Langchain Langchain Core
- CVE-2025-68664 — Critical (CVSS 9.3): LangChain is a framework for building agents and LLM-powered applications. Prior to versions 0.3.81 and 1.2.5, a…
- CVE-2026-34070 — High (CVSS 7.5): LangChain is a framework for building agents and LLM-powered applications. Prior to version 1.2.22, multiple functions…
- CVE-2026-40087 — Medium (CVSS 5.3): LangChain is a framework for building agents and LLM-powered applications. Prior to 0.3.84 and 1.2.28, LangChain's…
All CVEs affecting Langchain Langchain Core →
Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities
- CVE-2026-54734 — Critical (CVSS 10.0): Prebid Server Java is the Java version of Prebid Server. Prior to 3.43.0, certain bidder adapters interpolate…
- CVE-2026-76193 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by a Server-Side Request Forgery (SSRF) vulnerability that could result in…
- CVE-2026-69502 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Azure SQL Database allows an unauthorized attacker to elevate privileges over a…
- CVE-2026-65801 — Critical (CVSS 10.0): Server-side request forgery (ssrf) in Microsoft Exchange Online allows an unauthorized attacker to elevate privileges…
- CVE-2026-48331 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by a Server-Side Request Forgery (SSRF) vulnerability that could result in…
- CVE-2026-54735 — Critical (CVSS 10.0): Prebid Server is an open-source solution for running real-time advertising auctions in the cloud. Prior to version…
Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →