# CVE-2023-39660: pandasai vulnerable to prompt injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-21T00:00:00.000Z
- Modified: 2026-07-07T17:57:38.129Z
- Also known as: GHSA-w832-v3c6-m6rg, PYSEC-2026-1757
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pandasai (PyPI): before 0.8.1
- gabrieleventuri pandasai: up to 0.8.0

## Every score

- GitHub: rating High
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gventuri/pandas-ai/issues/399> (exploit, issue-tracking, patch, web)
- <https://github.com/gventuri/pandas-ai/pull/409> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39660> (advisory)
- <https://github.com/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5> (fix, web)
- <https://github.com/gventuri/pandas-ai> (package)
- <https://pypi.org/project/pandasai> (package)
- <https://github.com/advisories/GHSA-w832-v3c6-m6rg> (advisory)

## Sources

- CVE List: [CVE-2023-39660](https://www.cve.org/CVERecord?id=CVE-2023-39660), CVE Terms of Use, modified 2024-10-07
- GitHub Advisory Database: [GHSA-w832-v3c6-m6rg](https://github.com/advisories/GHSA-w832-v3c6-m6rg), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-39660](https://nvd.nist.gov/vuln/detail/CVE-2023-39660), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1757](https://osv.dev/vulnerability/PYSEC-2026-1757), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-39660 · Whole record: https://cve.day/CVE-2023-39660.json · Rebuilt by cve.day 2026-11-25T22:58:27.275Z
