Open WebUI allows Remote Code Execution via Arbitrary File Upload to /audio/api/v1/transcriptions
Date: 2025-03
Affected: pip/open-webui
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-8060
CWE: CWE-22
CWE-434
CVSS: 8.1 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H)

OpenWebUI version 0.3.0 contains a vulnerability in the audio API endpoint `/audio/api/v1/transcriptions` that allows for arbitrary file upload. The application performs insufficient validation on the `file.content_type` and allows user-controlled filenames, leading to a path traversal vulnerability. This can be exploited by an authenticated user to overwrite critical files within the Docker container, potentially leading to remote code execution as the root user.


Mitigations:

Architectural layers (MAESTRO):