CVE-2025-68472: MindsDB - Path Traversal
- Cve: CVE-2025-68472
- Name: MindsDB - Path Traversal
- Description: MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.11.1, an unauthenticated path traversal in the file upload API lets any caller read arbitrary files from the server filesystem and move them into MindsDB’s storage, exposing sensitive data. The PUT handler in file.py directly joins user-controlled data into a filesystem path when the request body is JSON and source_type is not "url". Only multipart uploads and URL-sourced uploads receive sanitization; JSON uploads lack any call to clear_filename or equivalent checks. This vulnerability is fixed in 25.11.1.
- Impact: Unauthenticated attackers can read and move arbitrary files, exposing sensitive data and compromising server confidentiality.
- Remediation: Update to version 25.11.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Epss score: 0.20417
- Epss percentile: 0.97556
- Assignee: [email protected]
- Published at: 2026-01-12T17:15:52Z
- Age in days: 316
- Modified at: 2026-06-17T09:59:07Z
- Patch available: yes
- Public exploits total: 3
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-68472
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-09-22 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7 | nvd | 2026-01-12 |
| https://github.com/ExploreUnknowed/CVE-2025-68472 | poc-in-github | 2026-01-14 |
| https://github.com/ExploreUnknowed/CVE-2025-68472.git | vulncheck-xdb | 2026-01-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7 | nvd | Exploit, Vendor Advisory |
| https://api.vulncheck.com/v3/index/vulncheck-canaries?cve=CVE-2025-68472 | vulncheck | Vulncheck Reported Exploitation |
| https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mindsdb:mindsdb | < 25.11.1 | no | nvd | /v1/products/mindsdb/mindsdb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mindsdb/mindsdb | package, releases, security_advisory | yes | /v1/repositories/mindsdb/mindsdb |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-09-22
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2026-01-12
- Remote: yes
- Exposed hosts: 806
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, nuclei template, initial access since, hackerone reports