pandasai vulnerable to prompt injection
An issue in Gaberiele Venturi pandasai v.0.8.0 and before allows a remote attacker to execute arbitrary code via a crafted request to the prompt function.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pandasai | < 0.8.1 | 0.8.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-39660
- https://github.com/gventuri/pandas-ai/issues/399
- https://github.com/gventuri/pandas-ai/pull/409
- https://github.com/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5
- https://github.com/gventuri/pandas-ai
- https://pypi.org/project/pandasai
- https://github.com/advisories/GHSA-w832-v3c6-m6rg
- Weakness (CWE)
CWE-94- Platform
- Python (PyPI)
- Package
pandasai- Disclosed
- 21.08.2023
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1757 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w832-v3c6-m6rg - CC BY 4.0
Vulnerability history: pandasai
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 08.2023 02.2025
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 1
Disclosures per year
- 2023: 2
- 2024: 1
- 2025: 1
- 2026: 0
-
pandasai vulnerable to prompt injection this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.