{"url":"http://public2.vulnerablecode.io/api/packages/92424?format=json","purl":"pkg:pypi/langchain-openai@0.2.1","type":"pypi","namespace":"","name":"langchain-openai","version":"0.2.1","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"1.1.14","latest_non_vulnerable_version":"1.1.14","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/80792?format=json","vulnerability_id":"VCID-wfbn-5x8p-hkdb","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":[{"reference_url":"https://github.com/langchain-ai/langchain/security/advisories/GHSA-r7w7-9xr2-qq2r","reference_id":"GHSA-r7w7-9xr2-qq2r","reference_type":"","scores":[{"value":"3.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-27T13:40:34Z/"}],"url":"https://github.com/langchain-ai/langchain/security/advisories/GHSA-r7w7-9xr2-qq2r"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/92499?format=json","purl":"pkg:pypi/langchain-openai@1.1.14","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-openai@1.1.14"}],"aliases":["CVE-2026-41488","GHSA-r7w7-9xr2-qq2r","PYSEC-2026-76"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-wfbn-5x8p-hkdb"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-openai@0.2.1"}