Path traversal in Open WebUI - #VU130180
Published: May 5, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote user to overwrite and delete arbitrary files.
The vulnerability exists due to path traversal in the /ollama/models/upload API route when handling file upload requests with a crafted filename. A remote user can upload a file with dot-segments in its filename to overwrite and delete arbitrary files.
The file is temporarily written to disk before being forwarded to an internal API and then removed, so exploitation is limited to files writable by the account running the web server.