Paper/Archive/CVE-2025-68472

CVE-2025-68472

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

Description · from the CVE record

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

ProductAffectedFixed inSource
mindsdb< 25.11.1–CNA

Scores by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GitHub_M (CNA)8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refgithub.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7refbluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal