What’s Vulnerable › Vulnerabilities
CVE-2025-68472: MindsDB has improper sanitation of filepath that leads to information disclosure and DOS
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 20.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-12 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- mindsdb: before 25.11.1 — fixed in 25.11.1
How to fix
Upgrade to a fixed version: mindsdb 25.11.1. Check the vendor advisory for mitigations.
References
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7
- https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal
Get alerted when CVE-2025-68472 or the next vulnerability affects your stack