CVE-2024-46946
published critical CVSS 3.1 · 9.8langchain_experimental vulnerability
Package status and fixes
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| langchain | langchain_experimental | 0.1.17 through 0.3.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-20 CWE-20 Improper Input Validation
References
4Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc04befc9fd0a6d315251d20d8daba658147daca724bd25e7d2ba51e0a8e3361
- Ingested
- 23 Sep 2026, 08:28:19 UTC
- Source record
- Official CVE record