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.
CVE ID: CVE-2024-23752
CVSS Base Severity: CRITICAL
CVSS Base Score: 9.8
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor: n/a
Product: n/a
EPSS Score: 0.51% (probability of being exploited)
EPSS Percentile: 65.03% (scored less or equal to compared to others)
EPSS Date: 2025-06-06 (when was this score calculated)
SSVC Exploitation: poc
SSVC Technical Impact: total
SSVC Automatable: true