CVE-2024-12366
CRITICAL 9.8CVSS 3.1PandasAI interactive prompt function Remote Code Execution (RCE)
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.
- Published
- 11 Feb 2025
- Last modified
- 16 Nov 2026
- Assigned by
- cret@cert.org
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-vv2h-2w3q-3fx7PYSEC-2026-448
- Sources
- NVDJSONOSV GHSA-vv2h-2w3q-3fx7JSONOSV PYSEC-2026-448JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pandasai | <= 2.4.2 |
References
- https://docs.getpanda.ai/v3/privacy-security · WEB
- https://docs.pandas-ai.com/advanced-security-agent · WEB
- https://www.kb.cert.org/vuls/id/148244 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12366 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pandasai/PYSEC-2026-448.yaml · WEB
- https://github.com/sinaptik-ai/pandas-ai · PACKAGE
- https://pypi.org/project/pandasai · WEB, PACKAGE
- https://github.com/advisories/GHSA-vv2h-2w3q-3fx7 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 11 Feb 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Feb 2025)