MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.9.1.1, there is a path traversal vulnerability in Mindsdb's /api/files interface, which an authenticated attacker can exploit to achieve remote command execution. The vulnerability exists in the "Upload File" module, which corresponds to the API endpoint /api/files. Since the multipart file upload does not perform security checks on the uploaded file path, an attacker can perform path traversal by using `../` sequences in the filename field. The file write operation occurs before calling clear_filename and save_file, meaning there is no filtering of filenames or file types, allowing arbitrary content to be written to any path on the server. Version 25.9.1.1 patches the issue.
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 | before 25.9.1.1 | 25.9.1.1 | Patch available | CNA |
| — | mindsdb (PyPI) | before 25.9.1.1 | 25.9.1.1 | Patch available | GHSA-4894-xqv6-vrfq |
- mindsdb Vendormindsdb Affected before 25.9.1.1 Fixed in 25.9.1.1 Patch available CNA
- mindsdb (PyPI) Vendor— Affected before 25.9.1.1 Fixed in 25.9.1.1 Patch available GHSA-4894-xqv6-vrfq
Remediation
- Fix · CNA mindsdb (mindsdb) Fixed in 25.9.1.1
- Fix · GHSA-4894-xqv6-vrfq mindsdb (PyPI) Fixed in 25.9.1.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27483
- 2026-10-03 Alias added: GHSA-4894-xqv6-vrfq
References
More Mindsdb vulnerabilities
- TI-2024-16276 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding CVSS 3.1CRITICAL 9.3
- 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
- TI-2025-42002 MindsDB has improper sanitation of filepath that leads to information disclosure and DOS CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-27483 · CVE Program
- CVE-2026-27483 · NVD
- FIRST EPSS
- GHSA-4894-xqv6-vrfq · 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