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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 20.4%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T16:10:55.000Z
- Modified: 2026-06-17T09:59:07.200Z
- Also known as: GHSA-qqhf-pm3j-96g7, PYSEC-2026-90
- Weaknesses: CWE-22, CWE-23, CWE-36
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- mindsdb mindsdb: < 25.11.1; before 25.11.1
- mindsdb (PyPI): before 25.11.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7> (exploit, evidence, vendor-advisory, web)
- <https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68472> (advisory)
- <https://github.com/mindsdb/mindsdb> (package)
- <https://github.com/mindsdb/mindsdb/releases/tag/v25.11.1> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2026-90.yaml> (web)

## Sources

- CVE List: [CVE-2025-68472](https://www.cve.org/CVERecord?id=CVE-2025-68472), CVE Terms of Use, modified 2026-02-20
- GitHub Advisory Database: [GHSA-qqhf-pm3j-96g7](https://github.com/advisories/GHSA-qqhf-pm3j-96g7), CC-BY-4.0, modified 2026-06-06
- NVD: [CVE-2025-68472](https://nvd.nist.gov/vuln/detail/CVE-2025-68472), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-90](https://osv.dev/vulnerability/PYSEC-2026-90), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2025-68472 · Whole record: https://cve.day/CVE-2025-68472.json · Rebuilt by cve.day 2026-11-25T22:59:10.507Z
