PandasAI vulnerable to arbitrary code execution
Date: 2023-08
Affected: pip/pandasai
Attack vector: prompt-injection
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2023-39661
CWE: CWE-74
CWE-94
CVSS: 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

An issue in pandas-ai v.0.8.1 and before allows a remote attacker to execute arbitrary code via the `_is_jailbreak` function.


Mitigations:

Architectural layers (MAESTRO):