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,905 items
Open WebUI's current main branch and v0.9.6 still let an authenticated user turn read-only access to another user's file, granted through a knowledge-base read grant, into write and delete access. The file ID is attached to an attacker-controlled workspace model, and has_access_to_file() in utils/access_control/files.py treats that model's meta.knowledge entry as write authority. The report describes this as an incomplete fix for GHSA-vjqm-6gcc-62cr and suggests High severity (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H, CWE-863).
The terminal proxy in backend/open_webui/routers/terminals.py forwards the Open WebUI user's identity to the upstream terminal server as an authorization claim with no cryptographic binding. On the HTTP path (proxy_terminal), X-User-Id is sent unsigned and can be spoofed by anyone who can reach the upstream directly. On the WebSocket path (ws_terminal), the unvalidated, unencoded session_id is interpolated into the upstream URL, letting an authenticated user inject a different user_id and attach to another user's live PTY where the backend scopes terminals by user_id.
Open WebUI's `WEB_FETCH_FILTER_LIST` host allow/block filter matches hostnames with `str.endswith(...)` against the full URL string, so administrator-configured blocklist entries fail to match URLs that contain a path, and allowlist and blocklist matching accepts strings that do not respect DNS label boundaries. An authenticated user who can trigger a server-side web fetch can reach publicly-resolvable hosts the administrator meant to block; the always-on non-global IP SSRF guard still blocks loopback, RFC1918 and link-local targets.
Open WebUI's GET /api/v1/channels/{id}/members endpoint returns the full serialized user model for every channel member, including their settings.ui configuration. A low-privilege user in a DM or group can therefore read admin-only values such as webhook URLs and tool server keys (settings.ui.toolServers[].key) that the normal /api/v1/users/{user_id}/info endpoint does not return. The advisory's proof of concept shows a bearer token configured by the admin being leaked to an attacker account when Channels (Beta) is enabled.
Open WebUI versions before 0.10.0 let a normal authenticated user read a private channel message they do not belong to. The thread endpoint at GET /api/v1/channels/{id}/messages/{message_id}/thread checks access only against the URL channel, then loads the thread parent by id without verifying it belongs to that channel. Supplying a victim message id as the thread root returns its content, channel id and author. Validated on v0.9.6.
The `get_all_models` handlers in `routers/openai.py` and `routers/ollama.py` in Open WebUI wrap their permission-filtered model lists in `@cached`, but pass `key=` instead of `key_builder=`. In aiocache 0.12.3, this makes every caller share one static cache entry within `MODELS_CACHE_TTL` (default 1 second), so one user can receive another user's model list, including models they are not permitted to see. The attacker cannot choose the victim or force a target's list into the cache.
Open WebUI's file upload background processing trusts the client-supplied `metadata.knowledge_id` and inserts a `knowledge_file` association before checking that the uploader has write access to that knowledge base. A verified user with only read access can therefore attach an arbitrary file to the target knowledge base through the upload path, which bypasses the write check enforced by `/api/v1/knowledge/{id}/file/add`. Affected version observed: package `open-webui` 0.9.6, tested at commit `02dc3e689ceac915a870b373318b99c029ddf603`.
An authenticated low-privilege user can run code-interpreter Python and tools inside another user's session in Open WebUI. The Socket.IO event-caller in backend/open_webui/socket/main.py delivers execute:python and execute:tool events to a client-supplied session_id after checking only that the session is connected, not that it belongs to the requester. The live session_id of a shared note's collaborators is exposed through ydoc:document:join. When the victim is an administrator, the hijacked context reaches the admin-only Functions API, whose source is executed server-side, yielding remote code execution as the server process.
Open WebUI versions from v0.9.5 through v0.9.6 let any authenticated user overwrite messages in channels they do not belong to, including private and DM channels, by sending a chat completion request with a `channel:`-prefixed `chat_id` and a target `message_id`. The multimodel `message_ids` variant still worked after the partial fix in v0.9.6, because only the first entry was validated, and this advisory consolidates both forms.
Fix: Fixed in v0.10.0, which validates every `message_ids` entry against the target channel at request time and adds a fail-closed check in `_make_channel_emitter` that refuses to write unless the message's `channel_id`…
Open WebUI versions 0.9.0 up to but not including 0.10.0, when Redis is configured, fail to apply JWT revocation to realtime authentication. The Socket.IO handlers (connect, user-join, join-channels, join-note) and the terminal websocket first-message auth validate tokens with decode_token() only, so a token revoked by sign-out or OIDC back-channel logout still opens new realtime connections, while HTTP correctly returns 401. An attacker holding such a stolen token can join the victim's rooms, receive channel messages and collaborative-note updates, and pass terminal websocket authentication when terminal servers are configured.
Open WebUI's Socket.IO server is configured with `always_connect=True` in `backend/open_webui/socket/main.py`, and its `connect` handler never rejects unauthenticated connections. The Ydoc handlers `ydoc:awareness:update` and `ydoc:document:leave` perform no authentication or room membership checks. An unauthenticated attacker can therefore spoof any `user_id` and inject fake awareness data into a document room, or broadcast fake `ydoc:user:left` events. The report also notes unlimited unauthenticated WebSocket connections as a resource exhaustion impact.
Open WebUI's direct POST /api/v1/images/edit route checked only that the user was verified, so it skipped the global ENABLE_IMAGE_EDIT switch and the per-user features.image_generation permission that other image-editing paths enforce. Affected versions are >= 0.8.11, < 0.10.0. An authenticated non-admin user could send billable edit requests to the configured provider using administrator credentials, but no cross-user data or provider keys were exposed.
Two regexes in backend/open_webui/utils/middleware.py that parse <$skillId|label> skill-mention tags backtrack in O(n²) on input containing <$ followed by a long run without a closing >. Both run synchronously on the asyncio event loop for every chat completion with no feature gate, so with the default single uvicorn worker any authenticated user can freeze the whole instance with one chat message. Affected versions are >= 0.9.2 and < 0.10.0, with v0.9.6 especially vulnerable to a small input.
Open WebUI's background automation scheduler kept running due automations for owners who had been deactivated to the zero-access pending role, because execute_automation() did not re-check the owner's role or features.automations permission. A separate check_model_access() branch only enforced private-model ACLs for the exact role user, so pending principals bypassed them. Exploitation needs a previously created active automation and a later role change, and it does not grant unauthenticated access or code execution.
Open WebUI's `/api/v1/auths/signin` endpoint leaked whether an email address belonged to a registered account through response timing. Bcrypt verification ran only for existing emails, so valid accounts took about 180 ms to respond while non-existent ones took about 5 ms, letting an unauthenticated attacker enumerate accounts by timing requests while staying under the brute-force rate limit. The disclosure reveals account existence only, and the impact is amplified because MFA is not enabled by default.
Open WebUI runs client-side Python (Pyodide) in a same-origin web worker, so Python executed through the js bridge or pyfetch can make credentialed requests to the app's own API as the victim. A low-privileged user can store such a payload in a shared chat; when an admin, or a user with workspace.functions or workspace.tools permissions, clicks Run, the payload can create a Function/Tool whose body executes server-side, yielding remote code execution.
Fix: Pyodide now runs in a sandboxed iframe at an opaque origin by default (sandbox="allow-scripts", no allow-same-origin), so requests to the app carry no session cookie and are CORS-blocked.
The TypeScript Nunjucks renderer in @prompty/core evaluated untrusted .prompty template bodies with unrestricted JavaScript member access. An attacker-controlled template could traverse constructor and prototype properties to run JavaScript in the host Node.js process. Affected versions are <= 0.1.4 and <= 2.0.0-beta.4.
Fix: Upgrade to @prompty/core 2.0.0-beta.5 or later. The patched renderer sanitizes render inputs to own-data-only values, rejects constructor/prototype member traversal, and disallows template function calls.
GitHub Advisory DatabaseSuna before 0.9.102 has a broken access control flaw in its message queue API. Authenticated attackers can read other users' pending prompt queues, read or delete their sessions, and inject prompts into another user's session queue, which the background drainer forwards to the victim's running AI agent with the victim's credentials and permissions.
Microsoft Kiota generates AI plugin manifests from OpenAPI descriptions, and the file reference in response_semantics.static_template.file is resolved by the AI host relative to the plugin package. A crafted reference that is percent-encoded, NUL-terminated, or uses Unicode homoglyphs bypassed the IsSafeFileReference check added in v1.32.5, letting paths resolve outside the package. An attacker who controls or tampers with the OpenAPI description could cause inclusion or disclosure of files beyond the package boundary.
Fix: Fixed in the first released Microsoft.OpenApi.Kiota version after 1.33.0, which includes the patches from pull requests 7910 and 7913.
Hugging Face Datasets through 5.0.0 contains a path traversal flaw in its folder-based dataset builders. The file_name metadata field is joined to the dataset directory without proper validation, so crafted values with traversal sequences can read arbitrary local files, which are then embedded into output on save_to_disk or push_to_hub.
Fix: Fixed in f989ef9.
GitHub Advisory DatabaseFix: Validate and URL-encode session_id before building the upstream URL (urllib.parse.quote(session_id, safe=""); reject ?, #, &, /, %, backslash and control characters), and build the query string with a URL builder.
GitHub Advisory DatabaseFix: Matching is now performed on the parsed hostname using DNS label boundaries via a new `is_host_allowed(host, ...)` function, which matches an entry only when the host equals it or ends with '.' plus the entry.
GitHub Advisory DatabaseFix: Fixed in v0.10.0 (PR #25766). get_messages_by_parent_id now returns [] unless parent.channel_id == channel_id, and new_message_handler rejects a caller-supplied parent_id/reply_to_id whose message does not belong to the…
GitHub Advisory DatabaseFix: Replace `key=` with `key_builder=` at both call sites and make the lambda take the function as its first argument, keying the cache on `user.id`, as in: @cached(ttl=MODELS_CACHE_TTL, key_builder=lambda _func, request…
Fix: Fixed by verifying that the target session belongs to the requesting user before delivering the event, not merely that it is connected.
GitHub Advisory DatabaseFix: Fixed in v0.10.0: the revocation check (is_valid_token, covering per-token jti and per-user revoked_at) is applied on Socket.IO connect, user-join, join-channels, join-note and the terminal websocket first-message auth…
GitHub Advisory DatabaseFix: 1. Set `always_connect=False` or reject unauthenticated connections in the `connect` handler 2. Add `SESSION_POOL` checks to `ydoc:awareness:update` and `ydoc:document:leave` 3.
GitHub Advisory DatabaseFix: Fixed in v0.10.0. The patch splits the direct route into a thin /edit route that enforces ENABLE_IMAGE_EDIT and features.image_generation before calling the shared image_edits() implementation.
GitHub Advisory DatabaseFix: Fixed in v0.10.0. The patch rewrites the optional |label as a non-capturing optional group: SKILL_MENTION_RE = re.compile(r'<\$([^|>]+)(?:\|[^>]*)?>') and strip_re = re.compile(r'<\$[^|>]+(?:\|([^>]*))?>').
Fix: Fixed in 0.10.0: execute_automation() now aborts unless the owner is still user or admin and, for non-admins, still holds features.automations, and check_model_access() enforces model ACLs for every non-admin role…
Fix: Fixed in 0.10.0. The authentication path now runs a bcrypt verification against a constant placeholder hash whenever the email does not resolve to an active credential, so response times match whether or not the account…