CVE-2026-59213: Open WebUI Model List Caching Flaw Exposes Permissions to Authenticated Users
Open WebUI versions 0.6.27 through 0.9.x contain a caching flaw where permission-filtered lists of AI models meant to be personalized per user are incorrectly stored in a shared cache. This allows one authenticated user to see another user's available model list if they make a request during the same cache validity window. The vulnerability requires login access and has been fixed in version 0.10.0.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 3.5 LOW · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-524
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-10
NVD description (verbatim)
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.6.27 before 0.10.0, get_all_models handlers in routers/openai.py and routers/ollama.py passed a lambda to aiocache key instead of key_builder, causing permission-filtered per-user model lists to share a static cache entry and exposing one user’s model list to another caller during the TTL window. This issue is fixed in version 0.10.0.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
In Open WebUI versions before 0.10.0, the get_all_models handlers in routers/openai.py and routers/ollama.py incorrectly pass a lambda function to the aiocache key parameter instead of using the proper key_builder mechanism. This causes per-user, permission-filtered model lists to collapse into a single static cache entry. During the cache TTL window, any authenticated caller receives whichever filtered model list was cached, potentially exposing one user's model permissions and available models to other users querying the same endpoint.
Business impact
Organizations deploying self-hosted Open WebUI as an internal AI platform may inadvertently expose model availability and permissions metadata across users. In multi-tenant or role-separated environments, this information leakage could reveal which models specific departments or security levels are authorized to use, aiding lateral reconnaissance or privilege escalation planning. The exposure is limited to metadata, not model outputs or data, but it does violate expected access controls and audit trails.
Affected systems
Open WebUI versions 0.6.27 through 0.9.x are affected. The vulnerability is present in both the OpenAI and Ollama router implementations. Version 0.10.0 and later contain the fix. Self-hosted deployments of Open WebUI are the only affected systems; the official hosted service does not apply.
Exploitability
Exploitation requires valid user authentication and is not readily automated without legitimate access credentials. However, once authenticated, an attacker needs only to call the get_all_models endpoint during the cache TTL window to observe another user's filtered model list. The CVSS 3.1 score of 3.5 (LOW) reflects the authentication requirement and limited confidentiality impact. Real-world exploitation likelihood depends on cache TTL configuration and user activity patterns.
Remediation
Upgrade Open WebUI to version 0.10.0 or later, which corrects the cache key handling to properly isolate per-user model lists. Administrators should review deployment documentation for any cache TTL tuning, as shorter TTLs further reduce the exposure window during any interim period before patching.
Patch guidance
Update Open WebUI to version 0.10.0 or later. Refer to the official Open WebUI release notes and security advisories for detailed upgrade procedures. Test the upgrade in a non-production environment first to confirm compatibility with custom configurations or integrations. Document the current version before upgrading to facilitate rollback if necessary.
Detection guidance
Review audit logs for the get_all_models endpoint (typically POST or GET requests to /api/v1/models or similar) to identify unusual access patterns across user accounts. Monitor cache hit rates and response timing anomalies that might suggest cross-user cache collisions. If available, inspect aiocache configuration and TTL settings in your Open WebUI deployment. Consider implementing request logging and correlation to detect when multiple users receive identical model lists in rapid succession, which would be atypical under normal use.
Why prioritize this
Despite a LOW CVSS score, this vulnerability merits prompt attention in multi-user or role-based deployments because it directly undermines access control expectations. Information about available AI models and permissions can inform attackers about organizational capabilities and security boundaries. The fix is mature (version 0.10.0), straightforward to deploy, and carries no known breaking changes, making remediation low-risk.
Risk score, explained
CVSS 3.1 score of 3.5 reflects: (1) Network vector—accessible remotely but requires internet connectivity to your Open WebUI instance; (2) High complexity—attacker must time requests within a cache TTL window and authenticate first; (3) Low privilege requirement—any valid user can trigger the leak; (4) Changed scope—the cached model list crosses user boundaries; (5) Low confidentiality impact—metadata exposure only, not data exfiltration. The LOW severity is appropriate for metadata leakage in an already-authenticated context, though business context may elevate urgency.
Frequently asked questions
Does this expose actual AI model outputs or user data?
No. The vulnerability leaks only the list of models a user has permission to access, not model responses, prompts, or any user data. It is an information disclosure about permissions and model availability.
What if we deploy Open WebUI in a single-user environment?
The vulnerability does not pose a risk in single-user deployments because there is only one user to cache. However, multi-user and multi-role instances remain exposed until patching.
Can we mitigate this without upgrading?
Possible mitigations include: reducing the aiocache TTL to the minimum practical value (narrowing the exposure window), restricting network access to Open WebUI to trusted networks, and auditing model list requests. None fully eliminate the vulnerability; upgrading to 0.10.0 is the proper fix.
Is this being exploited in the wild?
There is no evidence of active exploitation in the wild (CVE-2026-59213 is not on the CISA KEV list). However, the low barrier to triggering it in multi-user environments means it should not be left unpatched.
This analysis is for informational purposes. CVSS scores, vendor advisories, and patch versions are as reported by the vulnerability sources. Organizations should verify patch availability and compatibility with their specific Open WebUI deployment before proceeding. Upgrade procedures and compatibility notes should be cross-referenced with official Open WebUI documentation. SEC.co does not assume liability for decisions made based on this analysis. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-35193LOWDjango Cache Middleware Leaks Private User Data via Unauthenticated Requests
- CVE-2026-48588LOWDjango Cache Middleware Data Leakage Vulnerability
- CVE-2026-0281HIGHPalo Alto Networks PAN-OS Session Token Disclosure Vulnerability
- CVE-2026-13007HIGHTenable Identity Exposure Unauthenticated API Credential Exposure
- CVE-2026-40012MEDIUMDNS ECS Cache Leakage Vulnerability
- CVE-2026-41841MEDIUMSpring Framework Static Resource Information Disclosure
- CVE-2026-46309HIGHLinux xe GPU Driver Memory Disclosure via Incoherent Cache Access
- CVE-2026-49858MEDIUMAPI Platform Cross-User Attribute Leak via Cache Bypass