{"id":"CVE-2024-23752","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.","aliases":["GHSA-5g73-69p4-7gvx","PYSEC-2026-446"],"modified":"2026-08-27T03:48:05.851868598Z","published":"2024-01-22T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23752.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23752.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23752"},{"type":"REPORT","url":"https://github.com/gventuri/pandas-ai/issues/868"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sinaptik-ai/pandas-ai","events":[{"introduced":"0"},{"fixed":"ff0166139f55864bbd1965daf023ea7f66c00f04"}],"database_specific":{"cpe":"cpe:2.3:a:gabrieleventuri:pandasai:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.5.17"},{"last_affected":"1.5.17"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["v1.5.16","v1.5.15","v1.5.14","v1.5.13","v1.5.12","v1.5.11","v1.5.9","v1.5.10","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.2","v1.5.1","v1.5","v1.4.10","v1.4.9","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v.1.4.4","v1.4.2","v1.4.3","v1.4.1","v1.4","v1.3.2","v1.3.3","v1.3.1","v1.3","v1.2.10","v1.2.9","v1.2.8","v1.2.7","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2","v1.1.3","v1.1.2","v1.1.1","v1.1","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.2","v0.7.1","v0.7.0","v0.6.12","v0.6.11","v0.6.10","v0.6.9","v0.6.8","v0.6.7","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.3","v0.2.2","v.0.2.0","v.0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23752.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}