# CVE-2023-39661: PandasAI vulnerable to arbitrary code execution

- 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.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-15T00:00:00.000Z
- Modified: 2026-11-16T16:00:04.703Z
- Also known as: GHSA-8fp9-43pw-56vw, PYSEC-2026-447
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in pandas-ai v.0.9.1 and before allows a remote attacker to execute arbitrary code via the _is_jailbreak function.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: 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`
- 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`
- PyPA Advisory Database: 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/410> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39661> (advisory)
- <https://github.com/gventuri/pandas-ai> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-447.yaml> (web)
- <https://pypi.org/project/pandasai> (package, web)
- <https://github.com/advisories/GHSA-8fp9-43pw-56vw> (advisory)

## Sources

- CVE List: [CVE-2023-39661](https://www.cve.org/CVERecord?id=CVE-2023-39661), CVE Terms of Use, modified 2024-10-08
- GitHub Advisory Database: [GHSA-8fp9-43pw-56vw](https://github.com/advisories/GHSA-8fp9-43pw-56vw), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2023-39661](https://nvd.nist.gov/vuln/detail/CVE-2023-39661), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-447](https://osv.dev/vulnerability/PYSEC-2026-447), CC-BY-4.0, modified 2026-07-01

---

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