{"cve":"CVE-2024-23752","nvd":{"published":"2024-01-22T01:15:08.607","modified":"2026-06-17T07:13:31.787","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-862"],"references":["https://github.com/gventuri/pandas-ai/issues/868","https://github.com/gventuri/pandas-ai/issues/868"],"products":["gabrieleventuri:pandasai"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-23752","score":0.01015,"percentile":0.63282,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5g73-69p4-7gvx","url":"https://osv.dev/vulnerability/GHSA-5g73-69p4-7gvx","summary":"Code execution in pandasai","modified":"2026-06-29T12:26:14.502698530Z","packages":[{"ecosystem":"PyPI","name":"pandasai","purl":"pkg:pypi/pandasai","ranges":["<=1.5.17"],"fixed":[]}]},{"id":"PYSEC-2026-446","url":"https://osv.dev/vulnerability/PYSEC-2026-446","summary":"Code execution in pandasai","modified":"2026-07-01T20:22:59.757187Z","packages":[{"ecosystem":"PyPI","name":"pandasai","purl":"pkg:pypi/pandasai","ranges":["<=1.5.17"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}