CVE-2024-23752: PandasAI - Remote Code Execution
- Cve: CVE-2024-23752
- Name: PandasAI - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary Python code, potentially leading to remote code execution and full system compromise.
- Remediation: Update to the latest version where the issue is fixed or apply security patches to restrict code execution.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01015
- Epss percentile: 0.64136
- Assignee: [email protected]
- Published at: 2024-01-22T01:15:08Z
- Age in days: 1037
- Modified at: 2026-06-17T07:13:31Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-23752
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gventuri/pandas-ai/issues/868 | nvd | 2024-01-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/gventuri/pandas-ai/issues/868 | nvd | Exploit, Mailing List, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gabrieleventuri:pandasai | <= 1.5.17 | no | nvd | /v1/products/gabrieleventuri/pandasai |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gventuri/pandas-ai | issues, package | yes | /v1/repositories/gventuri/pandas-ai |
Index
- Repositories: 6
- Repositories high signal: 2
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-01-22
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts