Vulnerability · Published Jul 3, 2023 · Assigned by mitre
CVE-2023-36258
Critical 9.8
In plain English
A critical-severity code injection 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.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.1%top 35.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
An issue in LangChain before 0.0.236 allows an attacker to execute arbitrary code because Python code with os.system, exec, or eval can be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langchain | 0.0.247 | GHSA-2qmj-7962-cjq8 |
| PyPI | langchain | 0.0.247 | PYSEC-2023-98 |
Affected products (as reported)
Weakness: CWE-94