{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-45847","id":"CVE-2024-45847","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.","descriptionLong":"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.","published":"2024-09-12T12:57:42.357Z","updated":"2026-10-28T02:30:27.626655894Z","reserved":"2024-09-10T15:36:52.125Z","status":"Analyzed","rejected":false,"assigner":"HiddenLayer","metric":{"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","rating":"high","source":"HiddenLayer"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"4.0","score":null,"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"HiddenLayer"},{"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","rating":"high","source":"6f8de1f0-f67e-45a6-b68f-98777fdb759c"},{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"}],"rating":"high","products":["mindsdb"],"affectedProducts":[{"vendor":"mindsdb","product":"mindsdb","defaultStatus":"unaffected","versions":[{"lessThan":"24.7.4.1","status":"affected","version":"23.11.4.2","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mindsdb","purl":"pkg:pypi/mindsdb","ranges":[">=23.11.4.2 <24.7.4.1"],"fixed":["24.7.4.1"],"advisory":"GHSA-crmg-rp64-5cm3"}],"cwes":["CWE-95","CWE-94"],"aliases":["GHSA-crmg-rp64-5cm3","PYSEC-2026-1629"],"references":[{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/","tags":["Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45847.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45847","tags":["advisory"]},{"url":"https://github.com/mindsdb/mindsdb","tags":["package"]},{"url":"https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80","tags":["web"]},{"url":"https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb","tags":["web"]},{"url":"https://pypi.org/project/mindsdb","tags":["package"]},{"url":"https://github.com/advisories/GHSA-crmg-rp64-5cm3","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00851,"epssPercentile":0.58966,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-45847","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45847","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-45847","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-crmg-rp64-5cm3","ok":true,"note":"GHSA-crmg-rp64-5cm3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-45847","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}