VDB
Sign up
HIGH8.8

PYSEC-2026-2205

Quick fix

PYSEC-2026-2205 — mindsdb: upgrade to the fixed version with the command below.

pip install --upgrade 'mindsdb>=25.9.1.1'

Details

MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.9.1.1, there is a path traversal vulnerability in Mindsdb's /api/files interface, which an authenticated attacker can exploit to achieve remote command execution. The vulnerability exists in the "Upload File" module, which corresponds to the API endpoint /api/files. Since the multipart file upload does not perform security checks on the uploaded file path, an attacker can perform path traversal by using `../` sequences in the filename field. The file write operation occurs before calling clear_filename and save_file, meaning there is no filtering of filenames or file types, allowing arbitrary content to be written to any path on the server. Version 25.9.1.1 patches the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mindsdb
Introduced in: 0Fixed in: 25.9.1.1
Fixpip install --upgrade 'mindsdb>=25.9.1.1'

References