CVE-2023-32786
HIGH 7.5CVSS 3.1Langchain Server-Side Request Forgery vulnerability
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.
- Published
- 20 Oct 2023
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74CWE-918
- Also known as
- GHSA-6h8p-4hx9-w66cPYSEC-2026-1508
- Sources
- NVDJSONOSV GHSA-6h8p-4hx9-w66cJSONOSV PYSEC-2026-1508JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchaincpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:* |
<= 0.0.155 | |
| OSV | PyPI | langchain | < 0.0.329 | 0.0.329 |
References
- https://gist.github.com/rharang/d265f46fc3161b31ac2e81db44d662e1 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-32786 · ADVISORY
- https://github.com/langchain-ai/langchain/pull/12747 · WEB
- https://github.com/langchain-ai/langchain · PACKAGE
- https://github.com/langchain-ai/langchain/releases/tag/v0.0.329 · WEB
- https://pypi.org/project/langchain · PACKAGE
- https://github.com/advisories/GHSA-6h8p-4hx9-w66c · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 20 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Oct 2023)