CVE-2024-27444 json
LangChain Experimental vulnerable to arbitrary code execution
published 2024-02-26 2 y ago modified 2026-10-27 13 d ago also GHSA-v8vj-cv27-hjv8 , PYSEC-2026-375 , EUVD-2024-0729
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi langchain-experimental 0.0.52
- langchain langchain_experimental 0.1.8
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langchain-experimental | <0.0.52 |
0.0.52 |
Affected products
- langchain langchain_experimental
Classification
- Weakness
-
- CWE-749 Exposed Dangerous Method or Function
References
-
github.com
/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7
web, patch
-
nvd.nist.gov
/vuln/detail/CVE-2024-27444
advisory
-
github.com
/langchain-ai/langchain
package
-
github.com
/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2026-375.yaml
web
-
pypi.org
/project/langchain-experimental
web, package
-
github.com
/advisories/GHSA-v8vj-cv27-hjv8
advisory
Sources
- CVE List CVE-2024-27444
- GitHub Advisory GHSA-v8vj-cv27-hjv8
- NVD CVE-2024-27444
- OSV PYSEC-2026-375
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.