CVE-2025-68472 MindsDB has improper sanitation of filepath that leads to information disclosure and DOS
Unauthenticated attackers can read arbitrary server files and cause denial of service via path traversal in the file upload API.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-68472?
CVE-2025-68472 is a high-severity path traversal vulnerability in mindsdb, published on 12 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-68472?
3 open source packages ship an affected version, including mindsdb and MindsDB. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mindsdb PyPI | All versions | 25.11.1 |
mindsdb PyPI | All versions | 25.11.1 |
MindsDB PyPI | All versions | 25.11.1 |
Products include Mindsdb Mindsdb.
How do I fix CVE-2025-68472?
Upgrade mindsdb to 25.11.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-68472 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68472 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in mindsdb
- CVE-2024-24759 MindsDB Vulnerable to Bypass of SSRF Protection with DNS Rebinding
- CVE-2023-50731 MindsDB has arbitrary file write in file.py
- CVE-2023-38699 MindsDB 'Call to requests with verify=False disabling SSL certificate checks, security issue.' issue
- CVE-2024-45856 MindsDB Cross-site Scripting vulnerability
- CVE-2026-27483 MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
Sources
Also known as GHSA-qqhf-pm3j-96g7, PYSEC-2026-90.