What’s Vulnerable › Vulnerabilities
CVE-2026-27483: MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-02-24 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- mindsdb: before 25.9.1.1 — fixed in 25.9.1.1
How to fix
Upgrade to a fixed version: mindsdb 25.9.1.1. Check the vendor advisory for mitigations.
References
- https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef
- https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq
Get alerted when CVE-2026-27483 or the next vulnerability affects your stack