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

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
langchain langchain-experimental0.1.17 ≤ v ≤ 0.3.0—
langchain-experimentalPyPI0.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.

CVE-2024-46946 · Langchain-experimental · Dark Radar