CVE-2025-68472
HIGHMindsDB < 25.11.1 - Unauthenticated Path Traversal and Arbitrary File Read via File Upload API
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2025-68472. PoCs published by ExploreUnknowed.
AI-analyzed exploit summary The PoC demonstrates a path traversal vulnerability combined with SQL injection to leak file contents. It sends a PUT request to upload a malicious file path and then queries the database to retrieve the leaked data.
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.
Exploits (1)
The PoC demonstrates a path traversal vulnerability combined with SQL injection to leak file contents. It sends a PUT request to upload a malicious file path and then queries the database to retrieve the leaked data.
References (2)
Scores
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H