{"id":"CVE-2024-45846","aliases":["EUVD-2024-0105","GHSA-wcjw-3v6p-4v3r","PYSEC-2024-77"],"status":"published","title":"MindsDB Eval Injection vulnerability","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.02131,"percentile":0.82096,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94","CWE-95"],"published":"2024-09-12T12:56:48Z","modified":"2026-10-28T02:31:08Z","exploits":[{"source":"pocgithub","id":"ferralon-demo/mindsdb-vectordb-eval-rce","title":"ferralon-demo/mindsdb-vectordb-eval-rce","date":"2026-10-07","url":"https://github.com/ferralon-demo/mindsdb-vectordb-eval-rce"}],"fixes":[{"ecosystem":"PyPI","package":"mindsdb","fixed_in":["24.7.4.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mindsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"23.10.3.0"},{"fixed":"24.7.4.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mindsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"23.10.3.0"},{"fixed":"24.7.4.1"}]}],"versions":["23.10.3.0","23.10.3.1","23.10.5.0","23.11.1.0","23.11.4.0","23.11.4.1","23.11.4.4a6","23.12.4.0","23.12.4.1","23.12.4.2","24.1.4.0","24.2.3.0","24.3.4.0","24.3.4.1","24.3.4.2","24.3.5.0","24.4.2.0","24.4.2.1","24.4.3.0","24.5.4.0","24.6.1.0","24.6.1.1","24.6.2.0","24.6.2.2","24.6.3.0","24.6.3.1","24.6.4.1","24.7.1.0","24.7.2.0","24.7.3.0","24.7.4.0"]},{"source":"osv","ecosystem":"PyPI","package":"mindsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"23.10.3.0"},{"fixed":"24.7.4.1"}]}],"versions":["23.10.3.0","23.10.3.1","23.10.5.0","23.11.1.0","23.11.4.0","23.11.4.1","23.11.4.4a6","23.12.4.0","23.12.4.1","23.12.4.2","24.1.4.0","24.2.3.0","24.3.4.0","24.3.4.1","24.3.4.2","24.3.5.0","24.4.2.0","24.4.2.1","24.4.3.0","24.5.4.0","24.6.1.0","24.6.1.1","24.6.2.0","24.6.2.2","24.6.3.0","24.6.3.1","24.6.4.1","24.7.1.0","24.7.2.0","24.7.3.0","24.7.4.0"]}],"products":[{"vendor":"mindsdb","product":"mindsdb"}],"references":[{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/","tags":["Exploit","Third Party Advisory","advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45846","tags":["advisory"]},{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb","tags":["web"]},{"url":"https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-77.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wcjw-3v6p-4v3r","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45846.json","tags":["advisory"]},{"url":"https://github.com/mindsdb/mindsdb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-45846","description":"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.","status":"published","published":"2024-09-12T12:56:48.362Z","modified":"2024-09-12T14:39:09.882Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T14:34:08.16279Z"}],"euvd":[{"id":"EUVD-2024-0105","description":"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.","status":"published","published":"2024-09-12T12:56:48Z","modified":"2024-09-12T14:39:09Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:55:57.273476Z"}],"ghsa":[{"id":"GHSA-wcjw-3v6p-4v3r","title":"MindsDB Eval Injection vulnerability","description":"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.","status":"published","published":"2024-09-12T15:33:00Z","modified":"2024-09-16T21:57:31Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-94","CWE-95"],"updated_at":"2026-11-02T14:38:03.800952Z"}],"nvd":[{"id":"CVE-2024-45846","description":"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.","status":"published","published":"2024-09-12T13:15:12.92Z","modified":"2026-06-17T07:54:55.827Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-95","CWE-94"],"updated_at":"2026-11-02T14:10:25.561537Z"}],"osv":[{"id":"CVE-2024-45846","description":"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.","status":"published","published":"2024-09-12T12:56:48.362Z","modified":"2026-10-28T02:31:08.169888624Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-95"],"updated_at":"2026-11-02T15:44:42.790566Z"},{"id":"GHSA-wcjw-3v6p-4v3r","title":"MindsDB Eval Injection vulnerability","description":"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.","status":"published","published":"2024-09-12T15:33:00Z","modified":"2024-09-16T22:06:24.743361Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-94","CWE-95"],"updated_at":"2026-11-02T15:46:58.401149Z"},{"id":"PYSEC-2024-77","description":"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.","status":"published","published":"2024-09-12T13:15:00Z","modified":"2026-06-10T17:02:11.350828155Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
