{"id":"CVE-2025-68472","published":"2026-01-12T16:53:47Z","modified":"2026-02-20T16:17:22Z","title":"MindsDB has improper sanitation of filepath that leads to information disclosure and DOS","vendor":"mindsdb","product":"mindsdb","tier":"core","eol":null,"affectedVersions":[{"vendor":"mindsdb","product":"mindsdb","versions":["< 25.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-12T18:36:34.460933Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:41Z"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.20417,"percentile":0.97554,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-22","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":32,"pulses":[{"name":"Known_Cve | Mar 31, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca8519c290268fd9da68cc","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69ca0daa0d61a3082fccd483","created":"2026-03-30"},{"name":"Known_Cve | Mar 30, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c932c178f05822e0970ce2","created":"2026-03-29"},{"name":"Known_Cve | Mar 28, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/69c69277127fedcfcf9349b0","created":"2026-03-27"},{"name":"Known_Cve | Mar 25, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/69c2a5c024c4e0dbda79a32f","created":"2026-03-24"},{"name":"Known_Cve | Mar 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69c14ad09114b91e2b796d1f","created":"2026-03-23"},{"name":"Known_Cve | Mar 23, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bff7a467e13e64faf0c7a5","created":"2026-03-22"},{"name":"Known_Cve | Mar 22, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bea7172a5f67c1be686cbd","created":"2026-03-21"},{"name":"Known_Cve | Mar 21, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bd561efca225ea63938eb5","created":"2026-03-20"},{"name":"Known_Cve | Mar 20, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/69bc05085c2ed0bd9d103e85","created":"2026-03-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-23","name":"Relative Path Traversal"},{"id":"CWE-36","name":"Absolute Path Traversal"}],"references":[{"url":"https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7","tags":["x_refsource_CONFIRM"]},{"url":"https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"MindsDB","vulnerableRanges":["<25.11.1"],"patched":["25.11.1"],"from":["GHSA-qqhf-pm3j-96g7","PYSEC-2026-90"],"provenance":"source"}],"advisories":[{"id":"GHSA-qqhf-pm3j-96g7","url":"https://github.com/advisories/GHSA-qqhf-pm3j-96g7","severity":"HIGH","ecosystem":"PyPI","package":"MindsDB","vulnerableRanges":["<25.11.1"],"patched":["25.11.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-1922","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-1922","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-01-12","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-68472","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":73.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 60 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.51,"detail":"percentile 0.9755"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"32 pulses"},{"name":"CVSS severity","points":5.67,"detail":"base score 8.1"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}