Hoch

Open WebUI: Realtime endpoints accept Redis-revoked JWTs after signout/backchannel logout

  • Veröffentlicht: 24.07.2026
  • Aktualisiert: 11.10.2026 14:19

Summary

With Redis configured, Open WebUI supports JWT revocation: POST /api/v1/auths/signout (per-token jti) and OIDC back-channel logout (per-user revoked_at) record revocations in Redis, and HTTP auth (get_current_user) rejects revoked tokens with 401. The realtime authentication surfaces do not perform this check: Socket.IO connect / user-join / join-channels / join-note and the terminal websocket first-message auth validate tokens with decode_token() only (signature + expiry). A JWT revoked by sign-out or back-channel logout therefore continues to authenticate new realtime connections, even though the same token is rejected on HTTP.

Affected component

  • backend/open_webui/socket/main.py — Socket.IO connect, user-join, join-channels, join-note
  • backend/open_webui/routers/terminals.py — terminal websocket first-message auth
  • backend/open_webui/utils/auth.py — the revocation check was applied to HTTP only

Root cause

HTTP auth enforces revocation:

python
# utils/auth.py — get_current_user
if data.get('jti') and not await is_valid_token(request, data):
    raise HTTPException(status_code=401, detail='Invalid token')

Realtime auth calls decode_token() only, which verifies signature + expiry but never consults the Redis revocation keys ({prefix}:auth:token:{jti}:revoked, {prefix}:auth:user:{id}:revoked_at):

python
# socket/main.py — connect / user-join / join-channels / join-note
data = decode_token(auth['token'])
# routers/terminals.py — _resolve_authenticated_connection
data = decode_token(token)

Impact

A JWT revoked by user sign-out or OIDC back-channel logout still authenticates new realtime connections. A stolen token therefore retains realtime access after the victim signs out or the IdP performs back-channel logout — the very remediation for a compromised token. The token can populate SESSION_POOL as the victim, join their user/channel/note rooms (receiving realtime channel messages, collaborative-note updates and presence), drive socket-level collaboration as the victim, and pass terminal websocket authentication when terminal servers are configured. HTTP remains correctly protected (401), so REST data and state-changing REST endpoints are not reachable with the revoked token.

Proof of Concept

Reporter PoC on a Redis-backed deployment (v0.9.6 and main): after POST /api/v1/auths/signout, HTTP returns 401 for the token while a Socket.IO user-join with the same token still authenticates, and the terminal WS reaches terminal-server lookup rather than rejecting it as Invalid token.

Fix

Apply the revocation check on the realtime paths. The logic is factored into is_token_revoked(redis, decoded) (covering per-token jti and per-user revoked_at); the Socket.IO handlers and the terminal WS reject tokens that fail it, using the main app Redis where revocations are stored. HTTP is_valid_token delegates to the same helper, so HTTP behaviour is unchanged.

Affected / Patched

  • Affected: >= 0.9.0, < 0.10.0, and only when Redis is configured (without Redis, per-token revocation is not supported and sign-out does not invalidate JWTs by design).
  • Patched: 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, using the main app Redis where revocations are stored. HTTP is_valid_token delegates to the same logic, so HTTP behaviour is unchanged.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) open-webui >= 0.9.0, < 0.10.0 0.10.0

Verweise

CVSS-Wert 7.1/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Schwäche (CWE)
CWE-613
Plattform
Python (PyPI)
Paket
open-webui
Veröffentlicht
24.07.2026
Aktualisiert
11.10.2026 14:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-3595 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-855v-hq7w-jmjw - CC BY 4.0

Schwachstellenhistorie: open-webui

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (161) im Archiv
Einträge insgesamt
161
Erste → letzte
08.2024 09.2026
Ohne Fix
11
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 1
  • Hoch 77
  • Mittel 75
  • Niedrig 8

Veröffentlichungen pro Jahr

  1. 2024: 3
  2. 2025: 21
  3. 2026: 137
Schweregrad:
  1. Hoch · 7.7 CVE-2026-59221 >= 0.9.6, < 0.10.0 0.10.0
  2. Open WebUI: Realtime endpoints accept Redis-revoked JWTs after signout/backchannel logout dieser Eintrag
    Hoch · 7.1 CVE-2026-59219 >= 0.9.0, < 0.10.0 0.10.0
  3. Hoch · 7.3 CVE-2026-59214 < 0.10.0 0.10.0
  4. Hoch · 8.7 CVE-2026-54011 < 0.9.6 0.9.6
  5. Hoch · 7.1 CVE-2026-45349 < 0.9.0 0.9.0
  6. Hoch · 7.7 CVE-2026-45303 < 0.6.5 0.6.5
  7. Hoch · 7.1 CVE-2026-44569 < 0.6.19 0.6.19
  8. Hoch · 8.1 CVE-2026-44565 < 0.6.10 0.6.10
  9. Hoch · 7.3 CVE-2026-44566 < 0.1.124 0.1.124
  10. Hoch · 7.3 CVE-2026-44567 < 0.1.124 0.1.124
  11. Hoch · 7.3 CVE-2026-44549 < 0.8.0 0.8.0
  12. Kritisch · 9.1 CVE-2026-44551 < 0.9.0 0.9.0
  13. Hoch · 7.3 CVE-2026-44721 < 0.9.0 0.9.0
  14. Hoch · 7.7 CVE-2026-34222 < 0.8.11 0.8.11
  15. Hoch · 7.5 ghsa-5ccf-884p-4jjq <= 0.3.21 keine Korrektur
  16. Hoch · 8.4 CVE-2024-7990 <= 0.3.8 keine Korrektur
  17. Hoch · 8.0 CVE-2024-7806 < 0.3.33 0.3.33
  18. Hoch · 7.6 CVE-2024-7053 <= 0.3.8 keine Korrektur
  19. Hoch · 8.1 CVE-2024-7043 < 0.3.16 0.3.16
  20. Hoch · 7.5 CVE-2024-7036 <= 0.3.8 keine Korrektur
  21. Hoch · 7.5 ghsa-w466-2wfc-8g58 <= 0.3.32 keine Korrektur
  22. Hoch · 7.5 CVE-2024-12534 <= 0.3.32 keine Korrektur
  23. Hoch · 7.5 CVE-2024-12537 <= 0.3.32 keine Korrektur

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.