Skip to main content
CVE-2026-26013VulnerabilityPublished

CVE-2026-26013: langchain · Server-Side Request Forgery (SSRF)

Affects langchainSource CVE Database V5

0

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
langchain-ailangchainAffected
  • <1.2.11
Fixed in
  • 1.2.11

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.

References

Community reviews

Loading reviews…