CVE-2023-36258
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductLangchain
PublishedJul 3, 2023
First seenJul 3, 2023
Weakness typeCWE-94Code injection
How to fix
Update
- langchain0.0.247 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langchain langchain | 0.0.199 | — |
| langchainPyPI | v < 0.0.247 | 0.0.247 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.