CVE-2024-23752

GHSA-5g73-69p4-7gvx · published 22 Jan 2024 · updated 16 Nov 2026

Code execution in pandasai

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypi: pandasai<=1.5.17

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in pandasai (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-23752 severity on Zeptric[![CVE-2024-23752](https://zeptric.io/badge/cve/CVE-2024-23752.svg)](https://zeptric.io/cve/CVE-2024-23752)