# CVE-2024-45851: MindsDB Eval Injection vulnerability

- Severity: High 8.8 (CVSS:3.1, scored by HiddenLayer) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-12T13:01:02.816Z
- Modified: 2026-06-17T07:54:57.797Z
- Also known as: GHSA-wf9g-c67g-h4ch, PYSEC-2024-81
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: HiddenLayer

## Description

An arbitrary code execution vulnerability exists in versions 23.10.5.0 up to 24.7.4.1 of the MindsDB platform, when the Microsoft SharePoint integration is installed on the server. For databases created with the SharePoint engine, an ‘INSERT’ query can be used for list item creation. If such a query is specially crafted to contain Python code and is run against the database, the code will be passed to an eval function and executed on the server.

(As written by CVE List.)

## Affected

- mindsdb mindsdb: from 23.10.5.0 before 24.7.4.1; from 023.10.5.0 before 24.7.4.1
- mindsdb (PyPI): from 23.10.5.0 before 24.7.4.1

## Every score

- HiddenLayer: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/> (exploit, advisory, evidence, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45851> (advisory)
- <https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80> (web)
- <https://github.com/mindsdb/mindsdb> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-81.yaml> (web)
- <https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb> (web)
- <https://github.com/advisories/GHSA-wf9g-c67g-h4ch> (advisory)

## Sources

- CVE List: [CVE-2024-45851](https://www.cve.org/CVERecord?id=CVE-2024-45851), CVE Terms of Use, modified 2024-09-12
- GitHub Advisory Database: [GHSA-wf9g-c67g-h4ch](https://github.com/advisories/GHSA-wf9g-c67g-h4ch), CC-BY-4.0, modified 2024-09-16
- NVD: [CVE-2024-45851](https://nvd.nist.gov/vuln/detail/CVE-2024-45851), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-81](https://osv.dev/vulnerability/PYSEC-2024-81), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-45851 · Whole record: https://cve.day/CVE-2024-45851.json · Rebuilt by cve.day 2026-11-25T22:58:45.349Z
