CVE-2023-44467
CRITICAL9.8EPSS 0.12%langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method
Published: 10/9/2023Modified: 2/24/2025
Description
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.
Affected packages (2)
- PyPI/langchain-experimentalfrom 0, <= 0.0.14
- PyPI/langchain-experimentalfrom 0, < 4c97a10bd0d9385cfee234a63b5bd826a295e483 | from 0, < 0.0.15
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-44467
- PATCHhttps://github.com/langchain-ai/langchain
- WEBhttps://github.com/advisories/GHSA-gjjr-63x4-v8cq
- WEBhttps://github.com/langchain-ai/langchain/commit/4c97a10bd0d9385cfee234a63b5bd826a295e483
- WEBhttps://github.com/langchain-ai/langchain/pull/11233
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2023-194.yaml
- WEBhttps://pypi.org/project/langchain-experimental/0.0.14