{"id":"CVE-2024-46946","published":"2024-09-19T00:00:00Z","modified":"2024-09-19T14:06:52Z","title":"langchain_experimental (aka LangChain Experimental) 0.1.17 through 0.3.0 for LangChain allows attackers to execute…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02055,"percentile":0.81916,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/95.html","tags":[]},{"url":"https://github.com/langchain-ai/langchain/releases/tag/langchain-experimental%3D%3D0.3.0","tags":[]},{"url":"https://docs.sympy.org/latest/modules/codegen.html","tags":[]},{"url":"https://gist.github.com/12end/68c0c58d2564ef4141bccd4651480820#file-cve-2024-46946-txt","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":16.38},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-19T14:04:46.354291Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"langchain-experimental","vulnerableRanges":[">=0.1.17, <=0.3.0"],"patched":[],"from":["GHSA-p2qj-r53j-h3xj","PYSEC-2026-374"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2841","exploited":false,"provenance":"source"}}