Vulnerability · Published Feb 26, 2024 · Assigned by mitre
CVE-2024-27444
Critical 9.8
In plain English
A critical-severity security flaw in the langchain-experimental package (PyPI). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and execute arbitrary code via the __import__, __subclasses__, __builtins__, __globals__, __getattribute__, __bases__, __mro__, or __base__ attribute in Python code. These are not prohibited by pal_chain/base.py.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | langchain-experimental | 0.0.52 | GHSA-v8vj-cv27-hjv8 |
| PyPI | langchain-experimental | 0.0.52 | PYSEC-2026-375 |
Affected products (as reported)
Weakness: CWE-749 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H