{"id":"PYSEC-2026-1757","summary":"pandasai vulnerable to prompt injection","details":"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.","aliases":["CVE-2023-39660","GHSA-w832-v3c6-m6rg"],"modified":"2026-07-07T17:47:47.649164010Z","published":"2026-07-07T11:45:22.840481Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39660"},{"type":"WEB","url":"https://github.com/gventuri/pandas-ai/issues/399"},{"type":"WEB","url":"https://github.com/gventuri/pandas-ai/pull/409"},{"type":"FIX","url":"https://github.com/gventuri/pandas-ai/commit/3aac79be8fc1d18b53d66a566adddbbdd2b38ad5"},{"type":"PACKAGE","url":"https://github.com/gventuri/pandas-ai"},{"type":"PACKAGE","url":"https://pypi.org/project/pandasai"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w832-v3c6-m6rg"}],"affected":[{"package":{"name":"pandasai","ecosystem":"PyPI","purl":"pkg:pypi/pandasai"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.1"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.1.0","0.1.1","0.2.0","0.2.1","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.2.15","0.2.16","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.3.0","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","0.6.1","0.6.10","0.6.11","0.6.12","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.1","0.7.2","0.8.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/pandasai/PYSEC-2026-1757.yaml"}}],"schema_version":"1.7.5"}