CVE-2024-23752: pandasai · Code Execution
Affects pandasaiSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 9.8 Critical.
Data as of 16 Nov 2026, 16:49 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpandasai | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should consider disabling or restricting use of the GenerateSDFPipeline function or avoid processing untrusted dataframes with pandasai versions up to 1.5.17. Monitor vendor advisories for updates and apply official fixes once released.
Description
CVE-2024-23752 is a critical vulnerability in pandasai through version 1.5.17 that allows attackers to execute arbitrary Python code. The flaw exists in the GenerateSDFPipeline function within synthetic_dataframe, where an attacker can craft a dataframe containing an English language specification that triggers execution of malicious code via SDFCodeExecutor. This vulnerability has a high impact on confidentiality, integrity, and availability. No official patch or fix has been indicated in the provided data.
References
- nvd.nist.gov/vuln/detail/CVE-2024-23752 (opens in a new tab)
- github.com/gventuri/pandas-ai/issues/868 (opens in a new tab)
- github.com/gventuri/pandas-ai (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-446.yaml (opens in a new tab)
- pypi.org/project/pandasai (opens in a new tab)