CVE-2024-45848: MindsDB Eval Injection vulnerability
An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.
Published Sep 12, 2024 · Updated Sep 16, 2024
Affected packages
mindsdb
- Ecosystem
- PyPI
- Affected
- >= 23.12.4.0, < 24.7.4.1
- Fixed in
- 24.7.4.1
- Check
pip show mindsdb
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45848
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb
- https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2024-78.yaml
- https://github.com/advisories/GHSA-9gq6-6936-885w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-27483
MindsDB: Path Traversal in /api/files Leading to Remote Code Execution
high8.8Feb 24, 2026CVE-2024-45846
MindsDB Eval Injection vulnerability
high8.8Sep 12, 2024CVE-2024-45847
MindsDB Eval Injection vulnerability
high8.8Sep 12, 2024CVE-2024-45849
MindsDB Eval Injection vulnerability
high8.8Sep 12, 2024CVE-2024-45850
MindsDB Eval Injection vulnerability
high8.8Sep 12, 2024CVE-2024-45851
MindsDB Eval Injection vulnerability
high8.8Sep 12, 2024
