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