cve.bz

CVE-2024-46946

9.8 criticalEPSS 1.4%

Critical (9.8) in langchain langchain-experimental. EPSS 1.4% chance of exploitation in the next 30 days.

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).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 72% of CVEs (scores of 2026-10-31)
CWE
CWE-20
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p2qj-r53j-h3xjPyPIlangchain-experimental>=0.1.17 <=0.3.0no fix published
PYSEC-2026-374PyPIlangchain-experimental>=0.1.17 <=0.3.0no fix published

References

Check your stackJSON