{"id":"CVE-2023-39660","aliases":["CVE-2023-39660","GHSA-w832-v3c6-m6rg","PYSEC-2026-1757"],"related":[],"kind":"vulnerability","state":"published","title":"pandasai vulnerable to prompt injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-08-21T00:00:00.000Z","modified":"2026-07-07T17:57:38.129Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.1"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.8.0"}],"vendor":"gabrieleventuri","product":"pandasai","cpe":"cpe:2.3:a:gabrieleventuri:pandasai:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.8.1"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"pysec"}],"references":[{"url":"https://github.com/gventuri/pandas-ai/issues/399","tags":["exploit","issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/gventuri/pandas-ai/pull/409","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39660","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/gventuri/pandas-ai","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pandasai","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-w832-v3c6-m6rg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-07T16:39:50.641Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39660","url":"https://www.cve.org/CVERecord?id=CVE-2023-39660","licence":"CVE Terms of Use","modified":"2024-10-07T16:42:08.753Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w832-v3c6-m6rg","url":"https://github.com/advisories/GHSA-w832-v3c6-m6rg","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:38.129Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39660","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39660","licence":"Public domain","modified":"2026-06-17T06:12:41.080Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1757","url":"https://osv.dev/vulnerability/PYSEC-2026-1757","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:47.649Z"}],"updatedAt":"2026-11-25T22:58:27.275Z","epss":{"score":0.01521,"percentile":0.75336,"date":"2026-12-01T12:00:22.000Z"}}