{"id":"CVE-2024-45847","aliases":["EUVD-2024-2774","GHSA-crmg-rp64-5cm3","PYSEC-2026-1629"],"status":"published","title":"MindsDB Eval Injection vulnerability","description":"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.","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.00851,"percentile":0.58471,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94","CWE-95"],"published":"2024-09-12T12:57:42Z","modified":"2026-10-28T02:30:27Z","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.11.4.2"},{"fixed":"24.7.4.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mindsdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"23.11.4.2"},{"fixed":"24.7.4.1"}]}],"versions":["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.11.4.2"},{"fixed":"24.7.4.1"}]}],"versions":["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"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45847","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/advisories/GHSA-crmg-rp64-5cm3","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json","tags":["advisory"]},{"url":"https://github.com/mindsdb/mindsdb","tags":["package"]},{"url":"https://pypi.org/project/mindsdb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-45847","description":"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.","status":"published","published":"2024-09-12T12:57:42.357Z","modified":"2024-09-12T14:37:32.95Z","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-2774","description":"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.","status":"published","published":"2024-09-12T12:57:42Z","modified":"2024-09-12T14:37:32Z","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-crmg-rp64-5cm3","title":"MindsDB Eval Injection vulnerability","description":"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.","status":"published","published":"2024-09-12T15:33:00Z","modified":"2024-09-16T21:11:57Z","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:02.773864Z"}],"nvd":[{"id":"CVE-2024-45847","description":"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.","status":"published","published":"2024-09-12T13:15:13.177Z","modified":"2026-06-17T07:54:57.23Z","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-45847","description":"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.","status":"published","published":"2024-09-12T12:57:42.357Z","modified":"2026-10-28T02:30:27.626655894Z","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-crmg-rp64-5cm3","title":"MindsDB Eval Injection vulnerability","description":"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.","status":"published","published":"2024-09-12T15:33:00Z","modified":"2026-07-07T17:57:03.581008931Z","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:45.28161Z"},{"id":"PYSEC-2026-1629","title":"MindsDB Eval Injection vulnerability","description":"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.","status":"published","published":"2026-07-07T14:34:40.612166Z","modified":"2026-07-07T17:47:04.493868937Z","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"}],"updated_at":"2026-11-02T15:52:55.06457Z"}]}}
