---
title: "CVE-2024-27444: LangChain Experimental vulnerable to arbitrary code execution"
url: https://erroneo.us/security/cve/CVE-2024-27444/
description: "CVE-2024-27444 (langchain-experimental (PyPI)): langchainexperimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-02-26
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-27444"
kev: false
cvss: 9.3
epss: 0.00773
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.8% , percentile 55: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 55% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes langchain-experimental (PyPI) < 0.0.52, fixed in 0.0.52 . Check your lockfile, including transitive dependencies.
- Editorial verdict: Check exposure. LangChain PALChain: Prompt Injection to RCE (CVE-2023-44467) — Only apps that feed untrusted text into PALChain (or similar LLM-to-Python chains) are at risk, but for them it is full code execution, and blocklist fixes kept getting bypassed, so remove the pattern rather than trust the patch.

## What it is

langchainexperimental (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 palchain/base.py.

## Affected packages

- PyPI `langchain-experimental` < 0.0.52 → fixed: 0.0.52

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.77% probability of exploitation activity in the next 30 days; percentile 55.

## Sources

- [GitHub Advisory GHSA-v8vj-cv27-hjv8](https://github.com/advisories/GHSA-v8vj-cv27-hjv8)
- [CVE.org record CVE-2024-27444](https://www.cve.org/CVERecord?id=CVE-2024-27444)
- [NVD entry CVE-2024-27444](https://nvd.nist.gov/vuln/detail/CVE-2024-27444)
- [github.com](https://github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7)

---
Source page: https://erroneo.us/security/cve/CVE-2024-27444/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
