Vulnerability record · CVE-2023-38896 · published 15 August 2023
CVE-2023-38896: Langchain injection vulnerability
Langchain · Langchain
An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.
Description
An issue in Harrison Chase langchain v.0.0.194 and before allows a remote attacker to execute arbitrary code via the from_math_prompt and from_colored_object_prompt functions.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/hwchase17/langchain/issues/5872 | ExploitIssue TrackingPatch |
| https://github.com/hwchase17/langchain/pull/6003 | Patch |
| https://twitter.com/llm_sec/status/1668711587287375876 | Third Party Advisory |
| https://github.com/hwchase17/langchain/issues/5872 | ExploitIssue TrackingPatch |
| https://github.com/hwchase17/langchain/pull/6003 | Patch |
| https://twitter.com/llm_sec/status/1668711587287375876 | Third Party Advisory |
Track CVE-2023-38896 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-38896), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.