8.8 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- python312Packages.mindsdb-evaluator
- python313Packages.mindsdb-evaluator
- python314Packages.mindsdb-evaluator
- @LeSuisse dismissed
MindsDB has Path Traversal in /api/files Leading to Remote Code Execution
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.
References
-
https://github.com/mindsdb/mindsdb/security/advisories/GHSA-4894-xqv6-vrfq x_refsource_CONFIRM
-
https://github.com/mindsdb/mindsdb/releases/tag/v25.9.1.1 x_refsource_MISC
Affected products
- ==< 25.9.1.1
Ignored packages (3)
pkgs.python312Packages.mindsdb-evaluator
None
pkgs.python313Packages.mindsdb-evaluator
Model evaluation for Machine Learning pipelines
pkgs.python314Packages.mindsdb-evaluator
Model evaluation for Machine Learning pipelines