17 matches found
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...
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...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +941 more potentially affected by CVE-2026-41488 via langchain-openai (>=0.0.2, <=1.1.12)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-41488 Source advisory: OSV:PYSEC-2026-76...
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...
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...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +941 more potentially affected by CVE-2026-41488 via langchain-openai (>=0.0.2, <=1.1.12)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-41488 Source advisory: MEND:CVE-2026-41488...
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...
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...
CVE-2026-41488: Server-Side Request Forgery (SSRF)
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...
Server-side Request Forgery (SSRF)
Overview langchain-openai is an An integration package connecting OpenAI and LangChain Affected versions of this package are vulnerable to Server-side Request Forgery SSRF via the image token counting urltosize function. An attacker can access internal network resources by exploiting a DNS...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +941 more potentially affected by CVE-2026-41488 via langchain-openai (>=0.0.2, <=1.1.12)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-41488 Source advisory: OSV:GHSA-R7W7-9XR2-QQ2R...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +941 more potentially affected by CVE-2026-41488 via langchain-openai (>=0.0.2, <=1.1.12)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-41488 Source advisory: GHSA-R7W7-9XR2-QQ2R...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +941 more potentially affected by CVE-2026-41488 via langchain-openai (>=0.0.2, <=1.1.12)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-41488 Source advisory: SNYK:PYTHON-LANGCHAINOPENAI-16097112...
PT-2026-35320
Summary 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...
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...
a2a-client-handler (0.1.0), aa-rag (>=0.1.0, <=0.4.3) +848 more potentially affected by CVE-2026-26013 via langchain-openai (>=0.0.2, <=1.1.7)
langchain-openai PYPI version =0.0.2, =0.1.0, =0.1.0, =0.1.0b0, =0.0.1, =4.8.2, =0.0.1a1, =0.1.3, =1.0.0rc1, =3.2.0, =0.1.0, =0.1.1, =1.0.0, =1.0.0, =1.0.41 and more Source cves: CVE-2026-26013 Source advisory: SNYK:PYTHON-LANGCHAINOPENAI-15263095...
Server-side Request Forgery (SSRF)
Overview langchain-openai is an An integration package connecting OpenAI and LangChain Affected versions of this package are vulnerable to Server-side Request Forgery SSRF via the ChatOpenAI.getnumtokensfrommessages function. An attacker can cause the server to make internal network requests,...