{"id":"CVE-2023-32786","aliases":["CVE-2023-32786","GHSA-6h8p-4hx9-w66c","PYSEC-2026-1508"],"related":[],"kind":"vulnerability","state":"published","title":"Langchain Server-Side Request Forgery vulnerability","summary":"In Langchain through 0.0.155, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Langchain through 0.0.155, 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.","source":"cvelist"},{"lang":"en","text":"In 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Langchain hasta 0.0.155, la inyección rápida permite a un atacante forzar al servicio a recuperar datos de una URL arbitraria, esencialmente proporcionando SSRF y potencialmente inyectando contenido en tareas posteriores.","source":"nvd"}],"published":"2023-10-20T00:00:00.000Z","modified":"2026-07-07T17:57:20.555Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74","CWE-918"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.329"}],"ecosystem":"PyPI","package":"langchain","purl":"pkg:pypi/langchain","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.0.155"}],"vendor":"langchain","product":"langchain","cpe":"cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.0.329"}],"ecosystem":"PyPI","package":"langchain","purl":"pkg:pypi/langchain","source":"pysec"}],"references":[{"url":"https://gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32786","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain/pull/12747","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/langchain-ai/langchain/releases/tag/v0.0.329","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/langchain","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-6h8p-4hx9-w66c","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-12T17:54:35.834Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-32786","url":"https://www.cve.org/CVERecord?id=CVE-2023-32786","licence":"CVE Terms of Use","modified":"2024-09-12T17:54:54.643Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6h8p-4hx9-w66c","url":"https://github.com/advisories/GHSA-6h8p-4hx9-w66c","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:20.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-32786","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-32786","licence":"Public domain","modified":"2026-06-17T05:59:34.503Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1508","url":"https://osv.dev/vulnerability/PYSEC-2026-1508","licence":"CC-BY-4.0","modified":"2026-07-07T17:46:48.007Z"}],"updatedAt":"2026-11-25T22:58:28.991Z","epss":{"score":0.00709,"percentile":0.54712,"date":"2026-12-01T12:00:22.000Z"}}