CVE-2023-38860
9.8critical
LangChain vulnerable to arbitrary code execution
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.41% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fj32-q626-pjjcPYSEC-2023-145
Description
An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| langchain (PyPI) | before 0.0.247 | GitHub Advisory Database, PyPA Advisory Database |
| langchain langchain | 0.0.231 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
An issue in LangChain v.0.0.231 allows a remote attacker to execute arbitrary code via the prompt parameter.
GitHub Advisory Database
An issue in LangChain prior to v.0.0.247 allows a remote attacker to execute arbitrary code via the prompt parameter.
NVD (es)
Un problema en LangChain v.0.0.231 permite a un atacante remoto ejecutar código arbitrario a través del parámetro prompt.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-38860 changed 2024-10-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fj32-q626-pjjc changed 2024-09-27 | CC-BY-4.0 |
| NVD | CVE-2023-38860 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2023-145 changed 2026-06-10 | CC-BY-4.0 |