Vulnerability · Published Jan 22, 2024 · Assigned by mitre

CVE-2024-23752

Critical 9.8

In plain English

A critical-severity missing authorization in the pandasai package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities).

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.0%top 36.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpandasaino fix listedGHSA-5g73-69p4-7gvx
PyPIpandasaino fix listedPYSEC-2026-446

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References