A AegiFlow
CRITICALCVSS 9.3EPSS 0.8%

CVE-2024-27444

LangChain Experimental vulnerable to arbitrary code execution

Published
2024-02-26
Modified
2026-10-27
EPSS percentile
56%
Aliases
GHSA-v8vj-cv27-hjv8
Sources
github-advisory

Summary

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

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIlangchain-experimental—0.0.52

Remediation: Upgrade to 0.0.52 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.