Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langchain-experimental
  4. ›
  5. CVE-2024-27444

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

February 26, 2024

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.

References

  • github.com/advisories/GHSA-v8vj-cv27-hjv8
  • github.com/langchain-ai/langchain
  • github.com/langchain-ai/langchain/commit/de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7
  • nvd.nist.gov/vuln/detail/CVE-2024-27444

Code Behaviors & Features

Detect and mitigate CVE-2024-27444 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.52

Fixed versions

  • 0.0.52

Solution

Upgrade to version 0.0.52 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

pypi/langchain-experimental/CVE-2024-27444.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.