CVE-2024-23752
CRITICAL 9.8CVSS 3.1Code execution in pandasai
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.
- Published
- 22 Jan 2024
- Last modified
- 16 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-862CWE-94
- Also known as
- GHSA-5g73-69p4-7gvxPYSEC-2026-446
- Sources
- NVDJSONOSV GHSA-5g73-69p4-7gvxJSONOSV PYSEC-2026-446JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gabrieleventuri | pandasaicpe:2.3:a:gabrieleventuri:pandasai:*:*:*:*:*:python:*:* |
<= 1.5.17 | |
| OSV | PyPI | pandasai | <= 1.5.17 |
References
- https://github.com/gventuri/pandas-ai/issues/868 · Exploit, Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23752 · ADVISORY
- https://github.com/gventuri/pandas-ai · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-446.yaml · WEB
- https://pypi.org/project/pandasai · WEB, PACKAGE
- https://github.com/advisories/GHSA-5g73-69p4-7gvx · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 22 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jan 2024)