AI and data stack advisories

Severe, 6 weeks1498Projects326

1498 severe, 6 weeks · 326 projects

LangChainGHSA-p2qj-r53j-h3xj

LangChain Experimental Eval Injection vulnerability

LangChain

CVE-2024-46946 · Published Sep 19, 2024 · updated Oct 27, 2026

Critical9.8
No fix yet
GitHub advisory

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

Affected versions

PackageAffectedFixed in
langchain-experimental
PyPI
>= 0.1.17, <= 0.3.0No fix yet
Details and references

More LangChain advisories

All LangChain