CVE-2025-68472
CRITICAL 9.1CVSS 3.1MindsDB has improper sanitation of filepath that leads to information disclosure and DOS
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.
- Published
- 12 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-23CWE-36
- Also known as
- GHSA-qqhf-pm3j-96g7PYSEC-2026-90
- Sources
- NVDJSONOSV GHSA-qqhf-pm3j-96g7JSONOSV PYSEC-2026-90JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mindsdb | mindsdbcpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:* |
< 25.11.1 | 25.11.1 |
| OSV | PyPI | mindsdb | < 25.11.1 | 25.11.1 |
References
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7 · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68472 · ADVISORY
- https://github.com/mindsdb/mindsdb · PACKAGE
- https://github.com/mindsdb/mindsdb/releases/tag/v25.11.1 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2026-90.yaml · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2026)