3.1

CVE-2026-41488: angchain-openai: Image token counting SSRF protection can be bypassed via DNS rebinding

Analyzed
AliasesGHSA-r7w7-9xr2-qq2rPYSEC-2026-76
Published 24-04-2026Last modified 27-04-2026

Vulnerability summary

CVE-2026-41488 is a low (CVSS 3.1) Server-Side Request Forgery vulnerability in langchain-ai langchain-openai. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.1/10
010
Low · v3.1 (CVE.org)
EPSS score
0.16%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 27-04-2026
    Last modifiedVulnerability information updated.

Description

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's _url_to_size() helper (used by get_num_tokens_from_messages for image token counting) validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS resolution. This left a TOCTOU / DNS rebinding window: an attacker-controlled hostname could resolve to a public IP during validation and then to a private/localhost IP during the actual fetch.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Langchain1 product
Langchain-ai1 product
PyPI1 product
  • langchain-openai< 1.1.14

3 vendors · 3 products

References

4 links