Path traversal in Open WebUI - #VU130238
Published: May 6, 2026
Open WebUI
Detailed vulnerability description
The vulnerability allows a remote attacker to upload files to arbitrary locations on the server filesystem.
The vulnerability exists due to path traversal in the /rag/api/v1/doc API route when processing uploaded file names in multipart form data. A remote attacker can send a specially crafted file upload request with dot-segments in the filename to upload files to arbitrary locations on the server filesystem.
The uploaded file is written with the permissions of the user running the web server.