Skip to content
MediumVulnerability

GHSA-vvxm-vxmr-624h: Open WebUI vulnerable to Path Traversal in `POST /api/v1/audio/transcriptions`

Published
Record updated
View JSON
Affected
  • open-webui < 0.8.6
Fixed in
0.8.6
  • released March 1, 2026, 26 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

An unsanitised filename field in the Open WebUI speech-to-text endpoint `POST /api/v1/audio/transcriptions` lets any authenticated non-admin user trigger a `FileNotFoundError`. The error message, including the server's absolute `DATA_DIR` path, is returned verbatim in the HTTP 400 response body. The source says this confirms information disclosure on all default deployments.

Mitigation

Recommended fix in the source: in `backend/open_webui/routers/audio.py`, sanitise the extension with `Path(file.filename).name` and `Path(safe_name).suffix.lstrip(".") or "bin"` at line 1197, and at line 1231 replace the error detail with a generic message ("Transcription failed.") instead of the exception text.