All reports
Critical

Code execution in pandasai

Affected versions

Version ranges need review.

Affected versions
<= 1.5.17
Fixed version
Not reported
Affected versions
<=1.5.17
Fixed version
Not reported

Exploitation

CVE-2024-23752

Probability of exploitation in the next 30 days: 1.02%

FIRST EPSS · 2026-11-20

Description

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.

Links