CVE-2025-68472 MindsDB has improper sanitation of filepath that leads to information disclosure and DOS

High 8.1 Published Updated

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.

Weakness: CWE-36, CWE-23, CWE-22

Which versions are affected by CVE-2025-68472?

3 open source packages ship an affected version, including mindsdb and MindsDB. It affects 1 product.

PackageAffectedFixed in
mindsdb PyPIAll versions25.11.1
mindsdb PyPIAll versions25.11.1
MindsDB PyPIAll versions25.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.

Sources

Also known as GHSA-qqhf-pm3j-96g7, PYSEC-2026-90.

Is CVE-2025-68472 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free