{"id":"CVE-2023-39661","aliases":["CVE-2023-39661","GHSA-8fp9-43pw-56vw","PYSEC-2026-447"],"related":[],"kind":"vulnerability","state":"published","title":"PandasAI vulnerable to arbitrary code execution","summary":"An issue in pandas-ai v.0.9.1 and before allows a remote attacker to execute arbitrary code via the _is_jailbreak function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue in pandas-ai v.0.9.1 and before allows a remote attacker to execute arbitrary code via the _is_jailbreak function.","source":"cvelist"},{"lang":"en","text":"An issue in pandas-ai v.0.8.1 and before allows a remote attacker to execute arbitrary code via the `_is_jailbreak` function.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en pandas-ai v.0.9.1 y anteriores permite a un atacante remoto ejecutar código arbitrario a través de la función _is_jailbreak.","source":"nvd"}],"published":"2023-08-15T00:00:00.000Z","modified":"2026-11-16T16:00:04.703Z","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":"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"},{"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"},{"scorer":"PyPA Advisory Database","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-74","CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.9.1"}],"vendor":"gabrieleventuri","product":"pandasai","cpe":"cpe:2.3:a:gabrieleventuri:pandasai:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"pysec"}],"references":[{"url":"https://github.com/gventuri/pandas-ai/issues/410","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39661","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/gventuri/pandas-ai","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-447.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/pandasai","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-8fp9-43pw-56vw","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-08T20:26:46.513Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39661","url":"https://www.cve.org/CVERecord?id=CVE-2023-39661","licence":"CVE Terms of Use","modified":"2024-10-08T20:27:01.469Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8fp9-43pw-56vw","url":"https://github.com/advisories/GHSA-8fp9-43pw-56vw","licence":"CC-BY-4.0","modified":"2026-11-16T16:00:04.703Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39661","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39661","licence":"Public domain","modified":"2026-06-17T06:12:41.227Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-447","url":"https://osv.dev/vulnerability/PYSEC-2026-447","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:59.766Z"}],"updatedAt":"2026-11-25T22:58:27.141Z","epss":{"score":0.01405,"percentile":0.73364,"date":"2026-12-01T12:00:22.000Z"}}