Patchfirst
CVE-2025-68472 High · 8.1 EPSS 20.4%

MindsDB has improper sanitation of filepath that leads to information disclosure and DOS

Fix:upgrade MindsDB to 25.11.1 or later Details ↓

mindsdb · mindsdb

Summary

MindsDB (mindsdb) has a path traversal flaw in the file upload API's PUT handler in file.py, where user-controlled JSON request data is joined directly into a filesystem path because JSON uploads with a source_type other than "url" skip the filename sanitization applied to multipart and URL uploads. An unauthenticated attacker with network access to the API can exploit this with no user interaction to read arbitrary files from the server filesystem and move them into MindsDB's storage, exposing sensitive data.

Official description · CVE.org

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.

Breakdown
73.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Disclosed on 12 Jan 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

mindsdb mindsdb

Affected: < 25.11.1

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: MindsDB.

Upgrade to 25.11.1 or later

pippip install "MindsDB>=25.11.1"

The first fix for CVE-2025-68472. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 25.11.125.11.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 32 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close