MISFIRE

Browse / AI Framework and Platform Flaws / CVE-2024-8060

Open WebUI allows Remote Code Execution via Arbitrary File Upload to /audio/api/v1/transcriptions

CVE-2024-8060 ยท 2025-03-20 high

Class
AI Framework and Platform Flaws (filed by a model that read the source)
Technique
Path traversal and file access
Affected
open-webui (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

How it works, in short

The upload endpoint trusts the client content type and filename, letting paths escape the upload directory and overwrite system files. (Our summary, written by a model. The source text is below.)

Details

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.