{"id":"CVE-2024-45848","details":"An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.","aliases":["GHSA-9gq6-6936-885w","PYSEC-2024-78"],"modified":"2026-08-27T03:57:02.520983926Z","published":"2024-09-12T12:58:32.914Z","database_specific":{"cna_assigner":"HiddenLayer","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45848.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45848.json"},{"type":"ADVISORY","url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45848"},{"type":"PACKAGE","url":"https://github.com/mindsdb/mindsdb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mindsdb/mindshub","events":[{"introduced":"acb2ba745a5b7f59b775de7b49395a644abac6ec"},{"fixed":"0d7731e030343164d80ec07667ac05657cfb74e5"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"23.12.4.0"},{"fixed":"24.7.4.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45848.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"}]}