Vulnerability · Published Aug 15, 2023 · Assigned by mitre
CVE-2023-38896
Critical 9.8
In plain English
A critical-severity security flaw in the langchain package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.8%top 21.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langchain | 0.0.236 | GHSA-92j5-3459-qgp4 |
| PyPI | langchain | 0.0.195 | PYSEC-2023-146 |