Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
7,914 items
Open WebUI models shared with a group under read permission expose their full details to those users, including the system prompt in params.system. The reporter found that GET /api/v1/models/model?id=... returns this data to read-only users, even though /api/v1/models/list omits the model for them because it filters on write permission. The reporter argues this is a security issue because users may consider system prompts confidential.
Open WebUI's pin_channel_message endpoint (POST /api/v1/channels/{id}/messages/{message_id}/pin) checks only read permission on standard channels, so a user with read-only access can pin and unpin any message. The flaw is an insecure direct object reference: the endpoint modifies is_pinned, pinned_by and pinned_at without a write check. The impact is limited to disrupting the display of important information in the channel.
Fix: Change the Pin endpoint's permission check from `read` to `write`.
Open WebUI, as of v0.8.12, has an IDOR vulnerability in the Channels feature that lets any channel member edit messages posted by other members, including administrators, in group and dm channels. The update_message_by_id function checks only channel membership via is_user_channel_member and skips message ownership verification, unlike the other channel types.
Fix: Add a message ownership check in the group/dm branch of channels.py.
GHSA-v6qf-75pr-p96m affects Open WebUI. The bypass_filter parameter in the generate_chat_completion handlers in routers/openai.py and routers/ollama.py is bound from the query string by FastAPI, so an authenticated user can append ?bypass_filter=true to /openai/chat/completions or /ollama/api/chat. This skips the model access control check, letting any authenticated user invoke admin-restricted models through the server's configured connections.
A regular, non-admin user of Open WebUI v0.6.40 (the "main" branch) can see the system prompts that an admin set for models. The GET /api/models? response, which the application requests automatically at login, includes the system prompt of every available model configured on the workspace models pages. The source states the impact as exposing model instructions and enabling content manipulation of model input and output.
Open WebUI v0.6.43 lets a low-privilege user invoke restricted server tools through the chat completion API by supplying a tool's ID in the tool_ids parameter. The chat_completion flow never checks whether the caller may use the tool, so the stored authentication token runs the tool with server privileges, even for private MCP servers.
Fix: Fixed across two releases. Local Tool records were fixed in commit 9b06fdc8f, first released in v0.7.0: get_tools() in backend/open_webui/utils/tools.py now rejects requested tool_ids the caller neither owns nor holds a…
Open WebUI, at version v0.6.18 as tested, does not check that a Chat ID belongs to the requesting user on the /api/chat/completions endpoint. Any user with their own API key and another user's Chat ID can continue that user's conversation and read it, provided both users have access to the same model. The flaw is fixed in v0.9.0.
Open WebUI 0.5.4 contains a blind server-side request forgery in the PDF export path at /api/v1/utils/pdf. User-supplied fields such as title are interpreted as HTML and embedded into the PDF, so an <img> tag in title forces the server to issue an outbound GET request. The flaw is blind because no response content could be read, though response-delay timing could allow internal asset enumeration.
Fix: Fixed in commit 167c8bf00, first released in v0.5.11 (2025-02). The fix wraps every user-controllable field flowing into the PDF HTML template (title, content, role, model, formatted date) in html.escape() before the…
A stored cross-site scripting flaw exists in the SVG renderer of Open WebUI, tracked as GHSA-r29h-37fj-x2w6. An authenticated user can edit a generated SVG and append an img element with an onerror handler, and the code runs when the image is saved and rendered. The malicious thread can be shared with other users or administrators, which the report says can expose sensitive data or lead to account takeover.
A user can modify another user's model in Open WebUI 0.5.4 even when its visibility is set to Private. The flaw lies in the POST /api/v1/models/model/update endpoint, which lacks an authorization check, letting an attacker alter the model and change its access_control permissions to gain unauthorized access.
Open WebUI's Anthropic-compatible API path accepts API keys via the `x-api-key` header, but endpoint restrictions are checked only for keys sent in the `Authorization` header. A key restricted from `/api/v1/messages` returns 403 with `Authorization: Bearer sk-...`, yet the same key sent via `x-api-key` is authenticated and returns a full model response. The advisory's proof of concept was verified against Open WebUI v0.8.11, and the bypass lets any restricted key reach any endpoint.
GHSA-24c9-2m8q-qhmh describes a Server-Side Request Forgery in `_process_picture_url()` in `backend/open_webui/utils/oauth.py` (around line 1338) in Open WebUI. The function fetches arbitrary URLs taken from OAuth `picture` claims without calling `validate_url()`, although the codebase applies that check in other paths such as `files.py` and `images.py`. An attacker controlling the OIDC provider can make the server request internal resources and exfiltrate the response, with `ENABLE_OAUTH_SIGNUP=true` and generic OIDC configured as prerequisites.
Open WebUI's `validate_url()` in `backend/open_webui/retrieval/web/utils.py` calls `validators.ipv6(ip, private=True)`, but the `validators` library does not support the `private` keyword, so the call raises a `ValidationError` that is falsy and every IPv6 address passes the filter. IPv4-mapped IPv6 addresses (`::ffff:10.0.0.1`) also bypass the IPv4 check, and several reserved IPv4 ranges such as `0.0.0.0/8` and `100.64.0.0/10` are not blocked, letting any authenticated user reach internal addresses from the server, including cloud metadata endpoints.
An application-wide CSRF flaw in Open-WebUI's image handling lets any authenticated user set an image URL to an attacker-controlled endpoint. Any user who views that image, such as a profile picture, model picture, or shared note image, sends an unknowing GET request to that endpoint. The source says this can lead to cookie theft, denial of service, or other malicious actions.
Open WebUI renders user-uploaded Excel and DOCX files as HTML through Svelte's `{@html}` directive without DOMPurify sanitization, reintroducing a stored XSS previously fixed in GHSA-jwf8-pv5p-vhmc (patched in v0.8.0). The same root cause, `XLSX.utils.sheet_to_html()` output rendered via `{@html excelHtml}`, is exploitable again as of v0.8.12. The advisory also covers the related `fileOfficeHtml` sink in `src/lib/components/chat/FileNav.svelte` (lines 458 and 1285), which was outside the jwf8 scope.
Open WebUI's `POST /api/v1/notes/{id}/pin` endpoint toggles the `is_pinned` field but checks only `read` permission in `pin_note_by_id` (`backend/open_webui/routers/notes.py`), so users with read-only access to a shared note can pin and unpin it. The reporter tested this on v0.9.2 with default configuration and notes sharing enabled, and the update and delete endpoints correctly require `write`.
Fix: Change `permission='read'` to `permission='write'` in `pin_note_by_id` at `backend/open_webui/routers/notes.py`, line 437.
Open WebUI's channel webhook create and update flow accepts arbitrary profile_image_url values, including data:image/svg+xml;base64 payloads. The profile image endpoint at GET /api/v1/channels/webhooks/{webhook_id}/profile/image decodes and serves that SVG as image/svg+xml without sanitization. Script handlers such as onload then run in the application origin when the URL is opened, allowing stored XSS for any viewer, with the Channels (Beta) feature enabled and the viewer authenticated and verified.
Open WebUI's audio transcription upload endpoint, /api/v1/audio/transcriptions, takes the file extension from the user-supplied filename and stores the file under CACHE_DIR/audio/transcriptions/<uuid>.<ext> with no allowlist. The /cache/{path} route serves it via FileResponse, which sets Content-Type from that extension and sends no Content-Disposition, so a polyglot WAV+HTML file uploaded as pwn.html is returned as text/html. A verified user with the default-on chat.stt permission can exploit this to run embedded script in the Open WebUI origin when another user opens the link, with the JWT in localStorage.token reachable from JavaScript.
Missing integrity verification in the Triton inference handler in Amazon SageMaker Python SDK v2 before v2.257.2 and v3 before v3.8.0 lets a remote authenticated actor with S3 write access to the model artifact path replace model artifacts with a crafted pickle payload. The payload is deserialized without verification, allowing code execution in inference containers.
Fix: Upgrade to Amazon SageMaker Python SDK v2.257.2 or v3.8.0, and rebuild any Triton models previously created with ModelBuilder using the updated SDK.
Open WebUI's HTML rendering view embeds chat HTML in an iFrame with the sandbox directive `allow-scripts allow-forms allow-same-origin`, which largely nullifies the sandbox. A script placed in a chat can run and read the user's `localStorage` token, tested on version 0.5.4. The attacker must trick a user into entering the input, sharing or importing a chat, or displaying an uploaded file, so the report rates Attack Complexity as High.
Fix: The iFrame sandbox should be defined more restrictively to prevent scripts from executing with access to the parent's data.
Fix: The web response should not reveal the system prompt and related internal or back-end model details to regular users. Only the model name and non-sensitive details should be revealed to them.
GitHub Advisory DatabaseFix: Fixed in commit cf4218e68, first released in v0.9.0 (Apr 2026). The chat_completion handler in backend/open_webui/main.py:1868 now verifies chat ownership with Chats.is_chat_owner(chat_id, user.id) and returns 404 for…
GitHub Advisory DatabaseFix: Replace the `validators` library calls with stdlib `ipaddress`, rejecting addresses where `is_private`, `is_loopback`, `is_link_local`, `is_multicast`, `is_reserved` or `is_unspecified` is true.