CVE-2024-27444
CRITICAL 9.8CVSS 3.1LangChain Experimental vulnerable to arbitrary code execution
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.
- Published
- 26 Feb 2024
- Last modified
- 27 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-749
- Also known as
- GHSA-v8vj-cv27-hjv8PYSEC-2026-375
- Sources
- NVDJSONOSV GHSA-v8vj-cv27-hjv8JSONOSV PYSEC-2026-375JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langchain | langchain-experimentalcpe:2.3:a:langchain:langchain-experimental:*:*:*:*:*:*:*:* |
< 0.1.8 | 0.1.8 |
| OSV | PyPI | langchain-experimental | < 0.0.52 | 0.0.52 |
References
- https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7 · Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27444 · ADVISORY
- https://github.com/langchain-ai/langchain · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/langchain-experimental/PYSEC-2026-375.yaml · WEB
- https://pypi.org/project/langchain-experimental · WEB, PACKAGE
- https://github.com/advisories/GHSA-v8vj-cv27-hjv8 · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 26 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Feb 2024)