CVE-2026-27483
HIGH 8.8CVSS 3.1MindsDB: Path Traversal in /api/files Leading to Remote Code Execution
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.
- Published
- 24 Feb 2026
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-4894-xqv6-vrfqPYSEC-2026-2205
- Sources
- NVDJSONOSV GHSA-4894-xqv6-vrfqJSONOSV PYSEC-2026-2205JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mindsdb | mindsdbcpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:* |
< 25.9.1.1 | 25.9.1.1 |
| OSV | PyPI | mindsdb | < 25.9.1.1 | 25.9.1.1 |
References
- https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef · Patch, WEB, FIX
- https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1 · Product, Release Notes, WEB, ADVISORY
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-27483 · ADVISORY
- https://github.com/mindsdb/mindsdb · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Feb 2026)