{"id":"CVE-2026-27483","published":"2026-02-24T14:00:05Z","modified":"2026-02-27T18:19:11Z","title":"MindsDB has Path Traversal in /api/files Leading to Remote Code Execution","vendor":"mindsdb","product":"mindsdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10455,"percentile":0.96473,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef","tags":["x_refsource_MISC"]},{"url":"https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1","tags":["x_refsource_MISC"]}],"priority":{"score":30.5,"factors":[{"name":"EPSS percentile","points":19.29},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-04"},"pocGithub":{"count":2,"skipped":0,"earliest":"2026-03-06","earliestUrl":"https://github.com/thewhiteh4t/cve-2026-27483","repos":[{"name":"thewhiteh4t/cve-2026-27483","url":"https://github.com/thewhiteh4t/cve-2026-27483","stars":6,"created":"2026-03-06"},{"name":"nabhan-mohy/cve-2026-27483-lab","url":"https://github.com/nabhan-mohy/cve-2026-27483-lab","stars":1,"created":"2026-07-15"}]},"nuclei":[{"id":"CVE-2026-27483","name":"MindsDB - Remote Code Execution","severity":"high","path":"http/cves/2026/CVE-2026-27483.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27483.yaml"}],"first":{"date":"2026-03-06","source":"PoC-in-GitHub","url":"https://github.com/thewhiteh4t/cve-2026-27483"},"provenance":"source"},"vendorSlug":"mindsdb","affectedVersions":[{"vendor":"mindsdb","product":"mindsdb","versions":["< 25.9.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-02-27T18:19:02.972702Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mindsdb","vulnerableRanges":["<25.9.1.1"],"patched":["25.9.1.1"],"from":["GHSA-4894-xqv6-vrfq","PYSEC-2026-2205"],"provenance":"source"}],"summary":{"text":"MindsDB, the platform for building AI from enterprise data, contains a path traversal flaw in the \"Upload File\" module behind its /api/files endpoint, where the multipart upload does not check the uploaded file path. An attacker with valid credentials can use ../ sequences in the filename field, since no filename or file type filtering happens before the write, to place arbitrary content at any location on the server, which can lead to remote command execution; this requires network access and low-privilege authentication, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:18:34Z"},"euvd":{"id":"EUVD-2026-8466","exploited":false,"provenance":"source"},"exploits":[{"id":52547,"url":"https://www.exploit-db.com/exploits/52547","title":"MindsDB 25.9.1.1 - Path Traversal","date":"2026-05-04","verified":false,"provenance":"source"}]}