AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

PandasAIGHSA-5g73-69p4-7gvx

Code execution in pandasai

PandasAI

CVE-2024-23752 · Published Jan 22, 2024 · updated Jun 29, 2026

Critical9.8
No fix yet
GitHub advisory

GenerateSDFPipeline in synthetic_dataframe in PandasAI (aka pandas-ai) through 1.5.17 allows attackers to trigger the generation of arbitrary Python code that is executed by SDFCodeExecutor. An attacker can create a dataframe that provides an English language specification of this Python code. NOTE: the vendor previously attempted to restrict code execution in response to a separate issue, CVE-2023-39660.

Affected versions

PackageAffectedFixed in
pandasai
PyPI
<= 1.5.17No fix yet
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-862, CWE-94
Also known as
CVE-2024-23752, PYSEC-2026-446

More PandasAI advisories

All PandasAI