PT-2024-32293 · Sympy+1 · Sympy+1
12End
·
Published
2024-09-18
·
Updated
2025-07-16
·
CVE-2024-46946
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
langchain experimental versions 0.1.17 through 0.3.0
Description
The issue allows attackers to execute arbitrary code through
sympy.sympify (which uses eval) in LLMSymbolicMathChain. LLMSymbolicMathChain was introduced in a specific commit on October 5, 2023.Recommendations
For versions 0.1.17 through 0.3.0, consider disabling the
sympy.sympify function until a patch is available to prevent arbitrary code execution.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Eval Injection
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Langchain Experimental
Sympy