Vulnerability · Published Jan 12, 2026 · Assigned by GitHub_M
CVE-2025-68472MindsDB has improper sanitation of filepath that leads to information disclosure and DOS
High 8.1
In plain English
A high-severity path traversal in mindsdb from mindsdb. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 20.3% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | mindsdb | 25.11.1 | GHSA-qqhf-pm3j-96g7 |
| PyPI | mindsdb | 25.11.1 | PYSEC-2026-90 |
Affected products (as reported)
Weakness: CWE-22, CWE-23, CWE-36 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H