langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | langchain-experimental (PyPI) | 0.1.17 – 0.3.0 | — | No fix listed | GHSA-p2qj-r53j-h3xj |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- langchain-experimental (PyPI) Vendor— Affected 0.1.17 – 0.3.0 Fixed in — No fix listed GHSA-p2qj-r53j-h3xj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:langchain:langchain-experimental:*:*:*:*:*:*:*:* | 0.1.17 – 0.3.0 | Vulnerable | langchain-ai |
- cpe:2.3:a:langchain:langchain-experimental:*:*:*:*:*:*:*:* Versions 0.1.17 – 0.3.0 Vulnerable ·langchain-ai
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-46946
- 2026-10-03 Alias added: GHSA-p2qj-r53j-h3xj
References
Other 6
- https://cwe.mitre.org/data/definitions/95.html
- https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0
- https://docs.sympy.org/latest/modules/codegen.html
- https://github.com/langchain-ai/langchain
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2026-374.yaml
- https://pypi.org/project/langchain-experimental
More langchain-ai Langchain-experimental vulnerabilities
- TI-2024-18267 langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an… CVSS 3.1CRITICAL 9.8
- TI-2024-14269 Code injection in langchain-experimental CVSS 3.1HIGH 8.5
- TI-2024-25702 langchain_experimental (aka LangChain Experimental) before 0.0.61 for LangChain provides… CVSS 3.1HIGH 7.8
Sources
- CVE-2024-46946 · CVE Program
- CVE-2024-46946 · NVD
- FIRST EPSS
- GHSA-p2qj-r53j-h3xj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences