CVE-2026-26013: langchain · Server-Side Request Forgery (SSRF)
Affects langchainSource CVE Database V5
Not known to be exploited · CVSS 3.7 Low : upgrade to 1.2.11 when convenient.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.11
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade langchain to 1.2.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| langchain-ailangchain | Affected
| Fixed in
|
AI-suggested
Upgrade langchain to version 1.2.11 or later, where the vulnerability is fixed. Since this is an official fix, applying the update fully mitigates the issue. No additional mitigation steps are indicated.
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in langchain-ai's langchain framework versions prior to 1.2.11. The vulnerability occurs in the ChatOpenAI.get_num_tokens_from_messages() method, which fetches arbitrary image URLs without validation when computing token counts for vision-enabled models. This allows an attacker to supply malicious image URLs that trigger SSRF. The issue is fixed in version 1.2.11. The CVSS score is 3.