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.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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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.3.0 to before 24.7.4.1 | 24.7.4.1 | Patch available | CNA |
| — | mindsdb (PyPI) | 23.10.3.0 to before 24.7.4.1 | 24.7.4.1 | Patch available | GHSA-wcjw-3v6p-4v3r |
- mindsdb Vendormindsdb Affected 23.10.3.0 to before 24.7.4.1 Fixed in 24.7.4.1 Patch available CNA
- mindsdb (PyPI) Vendor— Affected 23.10.3.0 to before 24.7.4.1 Fixed in 24.7.4.1 Patch available GHSA-wcjw-3v6p-4v3r
Remediation
- Fix · CNA mindsdb (mindsdb) Fixed in 24.7.4.1
- Fix · GHSA-wcjw-3v6p-4v3r 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-45846
- 2026-10-03 Alias added: GHSA-wcjw-3v6p-4v3r
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-2025-42002 MindsDB has improper sanitation of filepath that leads to information disclosure and DOS CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-45846 · CVE Program
- CVE-2024-45846 · NVD
- FIRST EPSS
- GHSA-wcjw-3v6p-4v3r · 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