CVE-2024-23752Gabrieleventuri Pandasai
Critical 9.8 No auth needed
Follow: this CVE · Gabrieleventuri · Gabrieleventuri Pandasai We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Jan 22, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pandasai.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pandasai |
≤ 1.5.17 |
no fixed version | — |
| PyPI | pandasai |
≤ 1.5.17 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-5g73-69p4-7gvx, PYSEC-2026-446). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gabrieleventuri | pandasai | ≤ 1.5.17 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mailing List Vendor Advisory