CVE-2024-27444Langchain-experimental
Critical 9.8 No auth needed
Follow: this CVE · Langchain · Langchain-experimental We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Feb 26, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-749
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Langchain-experimental.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langchain-experimental |
< 0.0.52 |
0.0.52 |
pip install "langchain-experimental>=0.0.52" |
| PyPI | langchain-experimental |
< 0.0.52 |
0.0.52 |
pip install "langchain-experimental>=0.0.52" |
Per OSV / GitHub Advisories (GHSA-v8vj-cv27-hjv8, PYSEC-2026-375). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| langchain | langchain-experimental | < 0.1.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch