← Back to CVEs
CVE-2024-23752
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/22/2024
Last Modified5/30/2025
Sourcenvd
Honeypot Sightings0
Affected Products
gabrieleventuri:pandasai
Weaknesses (CWE)
CWE-862CWE-862
References
https://github.com/gventuri/pandas-ai/issues/868(cve@mitre.org)
https://github.com/gventuri/pandas-ai/issues/868(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.