All vulnerabilities

Servers and applications

CVE-2026-59213

Cross-user model-list exposure via static cache key in get_all_models (aiocache key= vs key_builder= misuse)

Severity
Medium 5.0
Published
2 Jul 2026
Last changed
10 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
0.10.0
Exploit chance
0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-524
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Also known as
GHSA-3wp3-xxj9-5jqq
Sources
NVD, Project advisories (GitHub)

Description

The get_all_models handlers in routers/openai.py and routers/ollama.py intended to cache their permission-filtered model lists per user, but the @cached decorator was misconfigured: it passed a key= lambda instead of key_builder=. In aiocache 0.12.3 (the pinned version), key= is a static cache key — a callable passed there is used as a constant object, not invoked per call. As a result the per-user key was never computed, and all callers collided onto a single shared cache entry within the TTL window. During that window, one user's permission-filtered model list could be served to a different authenticated user, crossing the per-user authorization boundary.

  • Boundary crossed: Confidentiality (cross-user). A caller can receive the model list scoped to a different security principal than themselves.
  • A user (or admin, or — depending on endpoint reachability — anonymous caller) who populates the cache causes the next caller within the TTL to receive that list rather than their own…
From open-webui/open-webui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Open WebUIServers and applications · cpe:a:openwebui:open_webui
  • From 0.6.27 before 0.10.0
Open WebUIServers and applications · github:open-webui/open-webui
  • From 0.6.27 before 0.10.0

About Open WebUI

self-hosted user interface for artificial intelligence models

From Wikidata, CC0 1.0.
Weekly downloads (PyPI)
355,496PyPI Stats, 15 Nov 2026
Docker Hub pulls
990,663Docker Hub, 15 Nov 2026
GitHub stars
158,684GitHub, 15 Nov 2026
Forks
23,075GitHub, 15 Nov 2026
Latest release
v0.13.3GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
multi-licensingWikidata
First published on GitHub
6 Oct 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-59213
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-59213
  • GitHub Advisory Database https://github.com/advisories/GHSA-3wp3-xxj9-5jqq
  • github.com https://github.com/open-webui/open-webui/security/advisories/GHSA-3wp3-xxj9-5jqq