# CVE-2024-45846: 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): 2.13%, higher than 82% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-12T12:56:48.362Z
- Modified: 2026-06-17T07:54:55.827Z
- Also known as: GHSA-wcjw-3v6p-4v3r, PYSEC-2024-77
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: HiddenLayer

## 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.

(As written by CVE List.)

## Affected

- mindsdb mindsdb: from 23.10.3.0 before 24.7.4.1
- mindsdb (PyPI): from 23.10.3.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-45846> (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-77.yaml> (web)
- <https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb> (web)
- <https://github.com/advisories/GHSA-wcjw-3v6p-4v3r> (advisory)

## Sources

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

---

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