GitHub Advisoryadvisory · PyPI

GHSA-v8vj-cv27-hjv8 LangChain Experimental vulnerable to arbitrary code execution

CRITICAL Published 2024-02-26 Modified 2026-10-27 Official page ↗
Aliases
CVE-2024-27444
Ecosystem
PyPI
Packages
langchain-experimental
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-749
Reviewed
2024-02-26

Affected packages

• PyPI langchain-experimental: < 0.0.52 → fixed in 0.0.52

Description

langchain_experimental (aka LangChain Experimental) before 0.0.52, part of 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`.

Related

Alias · CVE (1)

  • CVE-2024-27444 langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8 allows an attacker to bypass the CVE-2023-44467 fix and… vulnerability

Weakness · CWE (1)

  • CWE-749 Exposed Dangerous Method or Function weakness

References