{"id":"CVE-2026-27483","state":"PUBLISHED","title":"MindsDB has Path Traversal in /api/files Leading to Remote Code Execution","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.","publishedAt":"2026-02-24T14:00:05.402Z","updatedAt":"2026-02-27T18:19:11.743Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["mindsdb mindsdb"],"affected":[{"vendor":"mindsdb","product":"mindsdb","versions":[{"version":"< 25.9.1.1","status":"affected"}]}],"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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27483.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27483","state":"PUBLISHED","datePublished":"2026-02-24T14:00:05.402Z","dateUpdated":"2026-02-27T18:19:11.743Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-19T19:46:03.540Z"},"containers":{"cna":{"title":"MindsDB has Path Traversal in /api/files Leading to Remote Code Execution","descriptions":[{"lang":"en","value":"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":[{"vendor":"mindsdb","product":"mindsdb","versions":[{"version":"< 25.9.1.1","status":"affected"}]}],"references":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq","name":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef","name":"https://github.com/mindsdb/mindsdb/commit/87a44bdb2b97f963e18f10a068e1a1e2690505ef","tags":["x_refsource_MISC"]},{"url":"https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1","name":"https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-24T14:00:05.402Z"},"source":{"advisory":"GHSA-4894-xqv6-vrfq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-27T18:19:02.972702Z","id":"CVE-2026-27483","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T18:19:11.743Z"}}]}}}