# CVE-2024-27444: LangChain Experimental vulnerable to arbitrary code execution

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-02-26T00:00:00.000Z
- Modified: 2026-10-27T17:00:04.002Z
- Also known as: GHSA-v8vj-cv27-hjv8, PYSEC-2026-375
- Weaknesses: CWE-749
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- langchain langchain_experimental: before 0.1.8
- langchain-experimental (PyPI): before 0.0.52
- langchain langchain-experimental: before 0.1.8

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: 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`

## 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> (package, web)
- <https://github.com/advisories/GHSA-v8vj-cv27-hjv8> (advisory)

## Sources

- CVE List: [CVE-2024-27444](https://www.cve.org/CVERecord?id=CVE-2024-27444), CVE Terms of Use, modified 2024-08-06
- GitHub Advisory Database: [GHSA-v8vj-cv27-hjv8](https://github.com/advisories/GHSA-v8vj-cv27-hjv8), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-27444](https://nvd.nist.gov/vuln/detail/CVE-2024-27444), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-375](https://osv.dev/vulnerability/PYSEC-2026-375), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-27444 · Whole record: https://cve.day/CVE-2024-27444.json · Rebuilt by cve.day 2026-11-25T22:58:37.062Z
