VDB
Sign up
HIGH8.1

PYSEC-2026-1731

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

Quick fix

PYSEC-2026-1731 — open-webui: upgrade to the fixed version with the command below.

pip install --upgrade 'open-webui>=0.5.17'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/open-webui
Introduced in: 0Fixed in: 0.5.17
Fixpip install --upgrade 'open-webui>=0.5.17'

References