A AegiFlow
CRITICALCVSS 9.3EPSS 1.4%

CVE-2024-46946

LangChain Experimental Eval Injection vulnerability

Published
2024-09-19
Modified
2026-10-27
EPSS percentile
72%
Aliases
GHSA-p2qj-r53j-h3xj
Sources
github-advisory

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

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIlangchain-experimental——

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.