Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-44467 EUVD-2023-0109GHSA-gjjr-63x4-v8cqPYSEC-2023-194

langchain_experimental vulnerable to arbitrary code execution via PALChain in the python exec method

Published Oct 9, 2023 · Updated Aug 2, 2024 · Assigned by mitre

Description

langchain_experimental (aka LangChain Experimental) in LangChain before 0.0.306 allows an attacker to bypass the CVE-2023-36258 fix and execute arbitrary code via __import__ in Python code, which is not prohibited by pal_chain/base.py.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langchain-experimental <= 0.0.14 — GHSA-gjjr-63x4-v8cq
PyPI langchain-experimental < 0.0.15 0.0.15 PYSEC-2023-194

References