Advisory

GHSA-5g73-69p4-7gvx

Also known as: CVE-2024-23752, PYSEC-2026-446

Summary

Code execution in pandasai

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-01-22 03:30 UTC
Modified
2026-11-16 16:00 UTC

Affected packages and fixes

pandasai

PyPI · All systems

Affected

  • introduced 0, last affected 1.5.17 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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