CVE-2023-39660 json
pandasai vulnerable to prompt injection
published 2023-08-21 3 y ago modified 2026-07-07 4 mo ago also GHSA-w832-v3c6-m6rg , PYSEC-2026-1757 , EUVD-2023-2372
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pandasai 0.8.1
- github.com/gventuri/pandas-ai@3aac79b commit
- github.com/gventuri/pandas-ai/issues/399 patch
- github.com/gventuri/pandas-ai#409 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.53% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gventuri/pandas-ai/issues/399 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pandasai | <0.8.1 |
0.8.1 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/gventuri/pandas-ai/pull/409
web, issue-tracking, patch
-
github.com
/gventuri/pandas-ai/issues/399
web, exploit, issue-tracking, patch
-
github.com
/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5
web, patch
-
nvd.nist.gov
/vuln/detail/CVE-2023-39660
advisory
-
github.com
/gventuri/pandas-ai
package
-
pypi.org
/project/pandasai
package
-
github.com
/advisories/GHSA-w832-v3c6-m6rg
advisory
Sources
- CVE List CVE-2023-39660
- GitHub Advisory GHSA-w832-v3c6-m6rg
- NVD CVE-2023-39660
- OSV PYSEC-2026-1757
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.