{"id":"CVE-2024-12366","aliases":["CVE-2024-12366","GHSA-vv2h-2w3q-3fx7","PYSEC-2026-448"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2024-12366","summary":"PandasAI uses an interactive prompt function that is vulnerable to prompt injection and run arbitrary Python code that can lead to Remote Code Execution (RCE) instead of the intended explanation of the natural language processing by the LLM.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PandasAI uses an interactive prompt function that is vulnerable to prompt injection and run arbitrary Python code that can lead to Remote Code Execution (RCE) instead of the intended explanation of the natural language processing by the LLM.","source":"cvelist"},{"lang":"en","text":"PandasAI uses an interactive prompt function that is vulnerable to prompt injection and run arbitrary Python code that can lead to Remote Code Execution (RCE) instead of the intended explanation of the natural language processing by the LLM. The security controls of PandasAI (2.4.3 and earlier) fail to distinguish between legitimate and malicious inputs, allowing the attackers to manipulate the system into executing untrusted code, leading to untrusted code execution (RCE), system compromise, or pivoting attacks on connected services.","format":"markdown","source":"ghsa"},{"lang":"es","text":"PandasAI utiliza una función de solicitud interactiva que es vulnerable a la inyección de solicitudes y ejecuta código Python arbitrario que puede llevar a la ejecución remota de código (RCE) en lugar de la explicación prevista del procesamiento del lenguaje natural por parte del LLM.","source":"nvd"}],"published":"2025-02-11T12:42:11.882Z","modified":"2026-11-16T16:00:03.961Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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":"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":"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-94"],"affected":[{"ranges":[{"version":"2.4.0","status":"affected"}],"vendor":"Sinaptik AI","product":"PandasAI","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.4.2"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.4.2"}],"ecosystem":"PyPI","package":"pandasai","purl":"pkg:pypi/pandasai","source":"pysec"}],"references":[{"url":"https://docs.pandas-ai.com/advanced-security-agent","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://docs.getpanda.ai/v3/privacy-security","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.kb.cert.org/vuls/id/148244","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12366","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-448.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sinaptik-ai/pandas-ai","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pandasai","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-vv2h-2w3q-3fx7","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-02-11T19:27:49.899Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12366","url":"https://www.cve.org/CVERecord?id=CVE-2024-12366","licence":"CVE Terms of Use","modified":"2025-02-11T19:28:21.551Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vv2h-2w3q-3fx7","url":"https://github.com/advisories/GHSA-vv2h-2w3q-3fx7","licence":"CC-BY-4.0","modified":"2026-11-16T16:00:03.961Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12366","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12366","licence":"Public domain","modified":"2026-06-17T06:59:35.060Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-448","url":"https://osv.dev/vulnerability/PYSEC-2026-448","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:59.779Z"}],"updatedAt":"2026-11-25T22:58:51.541Z","epss":{"score":0.01249,"percentile":0.70203,"date":"2026-12-01T12:00:22.000Z"}}