CVE-2024-45851
Published: 12 September 2024
Summary
CVE-2024-45851 is a high-severity Eval Injection (CWE-95) vulnerability in Mindsdb Mindsdb. Its CVSS base score is 8.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Python (T1059.006); ranked in the top 31.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
This vulnerability is AI-related — categorised as Other Platforms; in the Other ATLAS/OWASP Terms risk domain.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0109
Vulnerability details
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…
more
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.
- CWE(s)
AI Security AnalysisAI
- AI Category
- Other Platforms
- Risk Domain
- Other ATLAS/OWASP Terms
- OWASP Top 10 for LLMs 2025
- None mapped
- Classification Reason
- MindsDB is an AI/ML automation platform that enables machine learning workflows via SQL, with integrations to vector databases (e.g., Weaviate, ChromaDB) and other data sources for AI applications like RAG and embeddings, making it an AI-related platform despite the specific trigger in SharePoint integration.
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Authenticated attackers can exploit eval injection in MindsDB query handlers (INSERT/SELECT/UPDATE) across integrations like SharePoint, Weaviate, ChromaDB, and vector DBs to achieve arbitrary Python code execution (T1059.006), enabling exploitation of the remote MindsDB service (T1210) and privilege escalation from low privileges to RCE (T1068).
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.