{"cve":"CVE-2024-12366","nvd":{"published":"2025-02-11T13:15:29.193","modified":"2026-06-17T06:59:35.060","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":[],"references":["https://docs.getpanda.ai/v3/privacy-security","https://docs.pandas-ai.com/advanced-security-agent","https://www.kb.cert.org/vuls/id/148244"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2024-12366","score":0.01214,"percentile":0.68543,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vv2h-2w3q-3fx7","url":"https://osv.dev/vulnerability/GHSA-vv2h-2w3q-3fx7","summary":"PandasAI interactive prompt function Remote Code Execution (RCE)","modified":"2026-09-10T03:50:06.211876644Z","packages":[{"ecosystem":"PyPI","name":"pandasai","purl":"pkg:pypi/pandasai","ranges":["<=2.4.2"],"fixed":[]}]},{"id":"PYSEC-2026-448","url":"https://osv.dev/vulnerability/PYSEC-2026-448","summary":"PandasAI interactive prompt function Remote Code Execution (RCE)","modified":"2026-07-01T20:22:59.779546Z","packages":[{"ecosystem":"PyPI","name":"pandasai","purl":"pkg:pypi/pandasai","ranges":["<=2.4.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}