Advisory

GHSA-v8vj-cv27-hjv8

Also known as: CVE-2024-27444, PYSEC-2026-375

Summary

LangChain Experimental vulnerable to arbitrary code execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-02-26 18:30 UTC
Modified
2026-10-27 17:00 UTC

Affected packages and fixes

langchain-experimental

PyPI · All systems

Affected

  • introduced 0, fixed 0.0.52 (ecosystem)

Fixed versions

0.0.52

Fix

  • Fixed version 0.0.52
    pip install --upgrade langchain-experimental==0.0.52

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences