CVE-2024-12366: PandasAI interactive prompt function Remote Code Execution (RCE)
Affects pandasaiSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 16 Nov 2026, 16:49 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpandasai | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid using vulnerable versions (2.4.3 and earlier) in untrusted environments or restrict access to the interactive prompt functionality to trusted users only.
Description
PandasAI versions 2.4.3 and earlier contain a critical vulnerability in their interactive prompt function that allows attackers to perform remote code execution (RCE) via prompt injection. This flaw enables malicious inputs to execute arbitrary Python code instead of the intended natural language processing explanation, potentially leading to system compromise or further attacks on connected services.
References
- nvd.nist.gov/vuln/detail/CVE-2024-12366 (opens in a new tab)
- docs.getpanda.ai/v3/privacy-security (opens in a new tab)
- docs.pandas-ai.com/advanced-security-agent (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-448.yaml (opens in a new tab)
- github.com/sinaptik-ai/pandas-ai (opens in a new tab)
- pypi.org/project/pandasai (opens in a new tab)
- kb.cert.org/vuls/id/148244 (opens in a new tab)