{"id":"CVE-2024-45847","details":"An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.","aliases":["GHSA-crmg-rp64-5cm3","PYSEC-2026-1629"],"modified":"2026-08-27T03:57:02.420700400Z","published":"2024-09-12T12:57:42.357Z","database_specific":{"cna_assigner":"HiddenLayer","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json"},{"type":"ADVISORY","url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45847"},{"type":"PACKAGE","url":"https://github.com/mindsdb/mindsdb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindsdb/mindshub","events":[{"introduced":"e5a3471a22df3eeeb2332f48544e221a7e91c120"},{"fixed":"0d7731e030343164d80ec07667ac05657cfb74e5"}],"database_specific":{"cpe":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"23.11.4.2"},{"fixed":"24.7.4.1"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45847.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}