CVE-2024-46946
Critical
Description
langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute arbitrary code through sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in fcccde406dd9e9b05fc9babcbeb9ff527b0ec0c6 (2023-10-05).
SeverityCritical
CVSS9.8
Exploit probability—
ProductLangchain-experimental
PublishedSep 19, 2024
First seenSep 19, 2024
Weakness typeCWE-20Improper input validation
How to fix
Sources list no fixed version or patch link for this vulnerability.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langchain langchain-experimental | 0.1.17 ≤ v ≤ 0.3.0 | — |
| langchain-experimentalPyPI | 0.1.17 ≤ v ≤ 0.3.0 | — |
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.