{"cve":"CVE-2025-68472","nvd":{"published":"2026-01-12T17:15:52.887","modified":"2026-06-17T09:59:07.200","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1},"cwes":["CWE-22","CWE-23","CWE-36"],"references":["https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7","https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal"],"products":["mindsdb:mindsdb"],"source":"nvd","synced_at":"2026-10-19T22:19:41.481987139+00:00"},"epss":{"cve":"CVE-2025-68472","score":0.20261,"percentile":0.97471,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-qqhf-pm3j-96g7","url":"https://osv.dev/vulnerability/GHSA-qqhf-pm3j-96g7","summary":"MindsDB has improper sanitation of filepath that leads to information disclosure and DOS","modified":"2026-06-06T00:45:49.350419787Z","packages":[{"ecosystem":"PyPI","name":"mindsdb","purl":"pkg:pypi/mindsdb","ranges":["<25.11.1"],"fixed":["25.11.1"]}]},{"id":"PYSEC-2026-90","url":"https://osv.dev/vulnerability/PYSEC-2026-90","summary":"","modified":"2026-05-20T09:19:07.914136Z","packages":[{"ecosystem":"PyPI","name":"mindsdb","purl":"pkg:pypi/mindsdb","ranges":["<25.11.1"],"fixed":["25.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}