Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · LangChain

CVE-2023-44467: langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method

criticalCVSS 3.1 9.8GHSA-gjjr-63x4-v8cq

langchainexperimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via import in Python code, which is not prohibited by palchain/base.py.

Published Oct 9, 2023 · Updated Feb 24, 2025

Affected packages

langchain-experimental

Ecosystem
PyPI
Affected
<= 0.0.14
Fixed in
No patched version yet
Check
pip show langchain-experimental

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More LangChain vulnerabilities

All LangChain entries