Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/49786?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/49786?format=api", "purl": "pkg:pypi/langchain-openai@0.3.17", "type": "pypi", "namespace": "", "name": "langchain-openai", "version": "0.3.17", "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/37305?format=api", "vulnerability_id": "VCID-3mrv-utn3-ffep", "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": "", "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" } ], "url": "https://github.com/langchain-ai/langchain/security/advisories/GHSA-r7w7-9xr2-qq2r" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/49828?format=api", "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-3mrv-utn3-ffep" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/langchain-openai@0.3.17" }