Lucene search
+L

15 matches found

PyPA
PyPA
•added 2026/07/13 2:36 p.m.•30 views

LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages

Server-Side Request Forgery SSRF in ChatOpenAI Image Token Counting SummaryThe ChatOpenAI.getnumtokensfrommessages method fetches arbitrary imageurl values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery SSRF...

3.7CVSS6.2AI score0.0043EPSS
SaveExploits0References7Affected Software1
RedhatCVE
RedhatCVE
•added 2026/04/28 8:48 a.m.•21 views

CVE-2026-41488

A flaw was found in langchain-openai. A remote attacker could exploit a Time-of-Check to Time-of-Use TOCTOU vulnerability, also known as a DNS rebinding vulnerability. This occurs because the urltosize helper, used for image token counting, validates URLs for Server-Side Request Forgery SSRF...

3.4CVSS5.8AI score0.00158EPSS
SaveExploits0References4
PyPA
PyPA
•added 2026/04/24 9:16 p.m.•40 views

PYSEC-2026-76

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References1Affected Software1
osv_pysec
osv_pysec
•added 2026/04/24 9:16 p.m.•30 views

PYSEC-2026-76

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References1
NVD
NVD
•added 2026/04/24 9:16 p.m.•27 views

CVE-2026-41488

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS0.00158EPSS
SaveExploits0References1
Cvelist
Cvelist
•added 2026/04/24 8:57 p.m.•67 views

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

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS0.00158EPSS
SaveExploits0References1
osv_cve
osv_cve
•added 2026/04/24 8:57 p.m.•27 views

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

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS5.9AI score
SaveExploits0References3
Vulnrichment
Vulnrichment
•added 2026/04/24 8:57 p.m.•12 views

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

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References1
CVE
CVE
•added 2026/04/24 8:57 p.m.•93 views

CVE-2026-41488

CVE-2026-41488 affects the langchain-openai component prior to version 1.1.14. The issue stems from the _url_to_size() helper (used by get_num_tokens_from_messages for image token counting): it validates URLs to provide SSRF protection, then fetches them in a separate network operation with an in...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References1Affected Software1
EUVD
EUVD
•added 2026/04/24 8:57 p.m.•30 views

EUVD-2026-25635

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.1.14, langchain-openai's urltosize helper used by getnumtokensfrommessages for image token counting validated URLs for SSRF protection and then fetched them in a separate network operation with independent DNS...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References1
Positive Technologies
Positive Technologies
•added 2026/04/24 12:00 a.m.•29 views

PT-2026-35087

Name of the Vulnerable Software and Affected Versions langchain-openai versions prior to 1.1.14 Description The url to size helper function, utilized by get num tokens from messages for image token counting, contains a Time-of-Check to Time-of-Use TOCTOU flaw. The function validates URLs for...

3.1CVSS5.9AI score0.00158EPSS
SaveExploits0References5
Github Security Blog
Github Security Blog
•added 2026/04/16 11:00 p.m.•29 views

langchain-openai: Image token counting SSRF protection can be bypassed via DNS rebinding

Summary langchain-openai's urltosize helper used by getnumtokensfrommessages 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 hostnam...

3.1CVSS5.8AI score0.00158EPSS
SaveExploits0References4Affected Software1
osv_ghsa
osv_ghsa
•added 2026/04/16 11:00 p.m.•41 views

GHSA-R7W7-9XR2-QQ2R langchain-openai: Image token counting SSRF protection can be bypassed via DNS rebinding

Summary langchain-openai's urltosize helper used by getnumtokensfrommessages 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 hostnam...

3.1CVSS5.8AI score0.00158EPSS
SaveExploits0References4
osv_ghsa
osv_ghsa
•added 2026/02/11 2:23 p.m.•14 views

GHSA-2G6R-C272-W58R LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages

Server-Side Request Forgery SSRF in ChatOpenAI Image Token Counting Summary The ChatOpenAI.getnumtokensfrommessages method fetches arbitrary imageurl values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery SSRF...

3.7CVSS6.2AI score0.0043EPSS
SaveExploits0References5
Github Security Blog
Github Security Blog
•added 2026/02/11 2:23 p.m.•25 views

LangChain affected by SSRF via image_url token counting in ChatOpenAI.get_num_tokens_from_messages

Server-Side Request Forgery SSRF in ChatOpenAI Image Token Counting Summary The ChatOpenAI.getnumtokensfrommessages method fetches arbitrary imageurl values without validation when computing token counts for vision-enabled models. This allows attackers to trigger Server-Side Request Forgery SSRF...

3.7CVSS6.2AI score0.0043EPSS
SaveExploits0References5Affected Software1
Rows per page
Query Builder