# CVE-2023-32786: Langchain Server-Side Request Forgery vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-10-20T00:00:00.000Z
- Modified: 2026-07-07T17:57:20.555Z
- Also known as: GHSA-6h8p-4hx9-w66c, PYSEC-2026-1508
- Weaknesses: CWE-74, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- langchain (PyPI): before 0.0.329
- langchain langchain: up to 0.0.155

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2023-32786](https://www.cve.org/CVERecord?id=CVE-2023-32786), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-6h8p-4hx9-w66c](https://github.com/advisories/GHSA-6h8p-4hx9-w66c), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-32786](https://nvd.nist.gov/vuln/detail/CVE-2023-32786), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1508](https://osv.dev/vulnerability/PYSEC-2026-1508), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-32786 · Whole record: https://cve.day/CVE-2023-32786.json · Rebuilt by cve.day 2026-11-25T22:58:28.991Z
