Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/langchain-openai@0.3.12 |
| Type | pypi |
| Namespace | |
| Name | langchain-openai |
| Version | 0.3.12 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 1.1.14 |
| Latest_non_vulnerable_version | 1.1.14 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-8mrq-f3bg-nqhy |
| vulnerability_id |
VCID-8mrq-f3bg-nqhy |
| summary |
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. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-41488, GHSA-r7w7-9xr2-qq2r, PYSEC-2026-76
|
| risk_score |
1.6 |
| exploitability |
0.5 |
| weighted_severity |
3.1 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-8mrq-f3bg-nqhy |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 1.6 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-openai@0.3.12 |