CVE-2024-27444: langchain langchain-experimental Exposed Dangerous Method or Function
Vulnerability summary
CVE-2024-27444 is a critical (CVSS 9.8) Exposed Dangerous Method or Function vulnerability in langchain langchain-experimental. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 56.8% of scored vulnerabilities.
Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 26-02-2024PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.77%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.77% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Langchain1 product
- langchain-experimental< 0.1.8
PyPI1 product
- langchain-experimental< 0.0.52
2 vendors · 2 products