{"id":"CVE-2023-32786","aliases":["GHSA-6h8p-4hx9-w66c","PYSEC-2026-1508"],"title":"Langchain Server-Side Request Forgery vulnerability","summary":"Langchain Server-Side Request Forgery vulnerability","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","vendor":"langchain","product":"langchain","ecosystem":"pip","affected":["langchain < 0.0.329"],"patched":["langchain 0.0.329"],"published":"2023-10-21","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-6h8p-4hx9-w66c","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32786"},{"url":"https://github.com/langchain-ai/langchain/pull/12747"},{"url":"https://gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1"},{"url":"https://github.com/langchain-ai/langchain"},{"url":"https://github.com/langchain-ai/langchain/releases/tag/v0.0.329"}],"tags":["osv","pip"],"epss":0.00699,"epssPercentile":0.51715,"ingestedAt":"2026-07-08T18:25:46.475Z","slug":"CVE-2023-32786","body":"## Overview\n\nIn Langchain before 0.0.329, prompt injection allows an attacker to force the service to retrieve data from an arbitrary URL, essentially providing SSRF and potentially injecting content into downstream tasks.\n\n## Affected packages\n\n- `langchain < 0.0.329`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `langchain 0.0.329`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}