CVE-2024-46946: langchain langchain-experimental Improper Input Validation
Vulnerability summary
CVE-2024-46946 is a critical (CVSS 9.8) Improper Input Validation vulnerability in langchain langchain-experimental. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 73.1% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 19-09-2024PublishedVulnerability first disclosed.
- 19-09-2024Last modifiedVulnerability information updated.
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).
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.39%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 found68C0C58D2564Ef4141Bccd4651480820
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Langchain1 product
- langchain-experimental≥ 0.1.17, ≤ 0.3.0
PyPI1 product
- langchain-experimental≥ 0.1.17, ≤ 0.3.0
2 vendors · 2 products
References
9 links- cwe.mitre.org/data/definitions/95.htmlNot Applicable