Code injection in mindsdb
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mindsdb | mindsdb | 23.10.5.0 to before 24.7.4.1 | 24.7.4.1 | Patch available | CNA |
| — | mindsdb (PyPI) | 23.10.5.0 to before 24.7.4.1 | 24.7.4.1 | Patch available | GHSA-wf9g-c67g-h4ch |
- mindsdb Vendormindsdb Affected 23.10.5.0 to before 24.7.4.1 Fixed in 24.7.4.1 Patch available CNA
- mindsdb (PyPI) Vendor— Affected 23.10.5.0 to before 24.7.4.1 Fixed in 24.7.4.1 Patch available GHSA-wf9g-c67g-h4ch
Remediation
- Fix · CNA mindsdb (mindsdb) Fixed in 24.7.4.1
- Fix · GHSA-wf9g-c67g-h4ch mindsdb (PyPI) Fixed in 24.7.4.1 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
mindsdb 24.7.4.1
6 records Highest priority Priority HIGH 4 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2024-30805 Code injection in mindsdbPriority HIGH 73
- TI-2024-30804 Code injection in mindsdbPriority HIGH 73
- TI-2024-30803 Code injection in mindsdbPriority HIGH 73
Timeline
- 2026-10-02 Threatist record created from CVE-2024-45851
- 2026-10-03 Alias added: GHSA-wf9g-c67g-h4ch
References
More Mindsdb vulnerabilities
- TI-2024-16276 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding CVSS 3.1CRITICAL 9.3
- TI-2026-21890 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution CVSS 3.1HIGH 8.8
- TI-2024-30805 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30804 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30803 Code injection in mindsdb CVSS 3.1HIGH 8.8
- TI-2024-30802 Code injection in mindsdb CVSS 3.1HIGH 8.8
Sources
- CVE-2024-45851 · CVE Program
- CVE-2024-45851 · NVD
- FIRST EPSS
- GHSA-wf9g-c67g-h4ch · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences