Advisory

PYSEC-2026-90

Also known as: CVE-2025-68472, GHSA-qqhf-pm3j-96g7

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2026-01-12 17:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

mindsdb

PyPI · All systems

Affected

  • introduced 0, fixed 25.11.1 (ecosystem)

Fixed versions

25.11.1

Fix

  • Fixed version 25.11.1
    pip install --upgrade mindsdb==25.11.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences