Skip to content
Threat Brief

← All advisories

CVE-2024-23752

Critical 9.8No known exploitationFix status unknown

Code execution in pandasai

Vendor advisory: GHSA-5g73-69p4-7gvx

Record last updated

CVSS score

9.8

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-94, CWE-862

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
pippandasaiall versions up to and including 1.5.17Not documentedGitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by mitre

    Source: CVE Program (opens in a new tab)

Vendor guidance and references