GHSA-5g73-69p4-7gvx
Dashboard / Vulnerabilities / GHSA-5g73-69p4-7gvx
GHSA-5g73-69p4-7gvx
Published: 22 Jan 2024Last Modified: 29 Jun 2026
Aliases:
Summary: Code execution in pandasai
Details: GenerateSDFPipeline in synthetic_dataframe in PandasAI (aka pandas-ai) through 1.5.17 allows attackers to trigger the generation of arbitrary Python code that is executed by SDFCodeExecutor. An attacker can create a dataframe that provides an English language specification of this Python code. NOTE: the vendor previously attempted to restrict code execution in response to a separate issue, CVE-2023-39660.
References: https://nvd.nist.gov/vuln/detail/CVE-2024-23752, https://github.com/gventuri/pandas-ai/issues/868, https://github.com/gventuri/pandas-ai
Affected packages
Package
Name: pandasai
Purl: pkg:pypi/pandasai
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -None
Affected versions
0.0.1
0.0.2
0.0.3
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
