Open WebUI allows Remote Code Execution via Arbitrary File Upload to /audio/api/v1/transcriptions
High severity
GitHub Reviewed
Published
Mar 20, 2025
to the GitHub Advisory Database
•
Updated Mar 21, 2025
Description
Published by the National Vulnerability Database
Mar 20, 2025
Published to the GitHub Advisory Database
Mar 20, 2025
Reviewed
Mar 21, 2025
Last updated
Mar 21, 2025
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 thefile.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