CVE-2024-27444: LangChain Experimental vulnerable to arbitrary code execution
CVE-2024-27444 · Severity: critical · CVSS 9.8 · Published 2024-02-26
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`.
Yes. langchain-experimental (PyPI): upgrade to 0.0.52 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-27444?
Check whether you run langchain-experimental (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
langchain-experimental (PyPI): upgrade to 0.0.52 or later