Skip to main content

Open WebUI EUVDEUVD-2026-30609

| CVE-2026-44552 HIGH
Exposure of Resource to Wrong Sphere (CWE-668)
2026-05-08 https://github.com/open-webui/open-webui GHSA-3x8w-4f7p-xxc2
8.7
CVSS 3.1 · Vendor: https://github.com/open-webui/open-webui
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain admin credentials on Instance A
  2. Delivery
    Configure malicious tool server via admin interface
  3. Exploit
    Attacker URL written to unprefixed Redis key
  4. Install
    Instance B reads poisoned cache
  5. C2
    Instance B users invoke tools
  6. Execute
    Tool payloads sent to attacker server
  7. Impact
    Exfiltrate chat content and tokens
  8. Step 8
    Return malicious tool responses
  9. Step 9
    Inject prompts into Instance B LLM context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Resource sphere isolation
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires two specific deployment conditions: (1) Multiple Open WebUI instances sharing a single Redis backend, which is a documented and supported configuration for multi-region deployments, blue-green strategies, hot-standby architectures, or cluster topologies, and (2) Attacker possesses admin-level credentials on at least one of the instances sharing the Redis backend. The CVSS vector PR:H confirms high privilege requirement-standard user accounts cannot configure tool servers. No user interaction is required (UI:N) once the attacker has admin access, and network-accessible Redis (AV:N) enables remote configuration. The vulnerability does NOT require non-default Redis configuration or special Redis authentication bypass; the issue is in application-layer key naming, not Redis configuration. Exploitation is NOT limited by rate limiting, WAF rules, or endpoint protection, as the admin interface allows legitimate tool server configuration. The cross-instance impact (S:C) occurs specifically because the missing key prefix violates Redis namespace isolation in shared-backend deployments.

Impact

This vulnerability presents significant real-world risk in multi-instance deployments despite the PR:H (high privilege required) constraint. The CVSS 8.7 score with Scope:Changed accurately reflects the cross-boundary impact-an admin on Instance A affects users on Instance B, breaking the isolation guarantee that REDIS_KEY_PREFIX was designed to provide. Attack complexity is low (AC:L) with no user interaction required (UI:N), and the network attack vector (AV:N) enables remote exploitation once admin access is obtained. The high confidentiality and integrity impacts (C:H/I:H) are justified: tool call payloads contain conversation content, user identities, and OAuth tokens, while attacker-controlled tool responses enter victim LLM contexts as trusted data, enabling prompt injection cascades. No EPSS score, KEV listing, or public POC is available at time of analysis-consistent with this being a recently disclosed advisory (GHSA-3x8w-4f7p-xxc2). The primary risk driver is deployment prevalence: organizations using documented multi-instance patterns (multi-region, blue-green, hot-standby) are vulnerable, and the silent failure mode (no error raised, valid cache entries) prevents detection through normal monitoring. The vendor advisory explicitly notes this affects 'all versions since the tool server / terminal server Redis cache was introduced' through commit 6fdd19bf1, indicating widespread exposure in deployed base.

Exploit ScenarioDerived

An attacker with administrative access on Open WebUI Instance A (either legitimately provisioned or escalated through separate vulnerabilities) configures a malicious tool server pointing to https://attacker-controlled.example.com/openapi.json through the admin interface. This writes the attacker's server URL to the unprefixed Redis key 'tool_servers', overwriting the cache entry. When users on Instance B (sharing the same Redis backend in a multi-region deployment) interact with LLM tools, Instance B reads the poisoned tool_servers cache and routes tool call payloads-containing conversation content, user identity, and OAuth tokens-to the attacker's server. The attacker's server logs the exfiltrated data and returns crafted tool responses that inject malicious prompts into Instance B's LLM context, appearing as trusted tool output.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Cross-instance cache poisoning in Open WebUI allows administrators on one instance to inject malicious tool server configurations into shared Redis cache, affecting users on other instances. The vulnerability stems from missing Redis key prefixes on tool_servers and terminal_servers cache entries in backend/open_webui/utils/tools.py. When multiple Open WebUI instances share a Redis backend (a documented multi-region/blue-green deployment pattern), an admin on Instance A can configure a malicious tool server that overwrites Instance B's cache, causing Instance B users to send tool call payloads-containing chat content, user identity, and OAuth tokens-to attacker-controlled servers. Exploitation requires privileged access (CVSS PR:H) but crosses instance boundaries (Scope:Changed), enabling data exfiltration and prompt injection delivery. Vendor-released patch: version 0.9.0 addresses the missing prefix issue.

RemediationAI

Upgrade to Open WebUI version 0.9.0 or later, which addresses the missing Redis key prefix issue per vendor advisory GHSA-3x8w-4f7p-xxc2 available at https://github.com/open-webui/open-webui/security/advisories/GHSA-3x8w-4f7p-xxc2. The fix applies the standard REDIS_KEY_PREFIX pattern to tool_servers and terminal_servers cache keys, restoring namespace isolation in multi-instance deployments. For organizations unable to upgrade immediately, deploy each Open WebUI instance with a dedicated Redis backend to eliminate cross-instance cache poisoning risk-this workaround trades operational complexity (multiple Redis instances requiring separate management, backup, and monitoring) for isolation but negates the shared-cache benefits for legitimate use cases like coordinated rate limiting and session management. Alternatively, configure unique REDIS_KEY_PREFIX values per instance if the application supports runtime override (verify in version-specific documentation), though this may not fully mitigate if the bare key names in vulnerable code bypass the prefix mechanism entirely. Audit admin account provisioning across all instances sharing Redis to limit exposure surface, and monitor Redis for unexpected tool_servers or terminal_servers key modifications as a detection control until patching is complete.

Affected VersionsENISA

open-webui < 0.9.0

Affected Packages

pypi open-webui fix: 0.9.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open WebUI is a Python-based LLM frontend application using Redis for distributed caching and session management. The application implements a REDIS_KEY_PREFIX (default 'open-webui') to namespace Redis keys, enabling multiple isolated instances to safely share a single Redis backend-a pattern explicitly supported for multi-region deployments, blue-green environments, and cluster topologies. The vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) exists in backend/open_webui/utils/tools.py at lines 841, 850, 976, and 986, where tool_servers and terminal_servers cache keys are written and read using bare string literals ('tool_servers', 'terminal_servers') instead of the prefixed pattern (f'{REDIS_KEY_PREFIX}:tool_servers') used consistently elsewhere in the codebase for auth tokens, rate limits, and task queues. This inconsistency breaks Redis key namespace isolation, allowing cache entries from one instance to collide with and overwrite entries from another. The affected package is distributed via PyPI as pip/open-webui, with CPE string pkg:pip/open-webui identifying the vulnerable component.

Know when Redis gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/open-webui/open-webui) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Primary rating from Vendor (https://github.com/open-webui/open-webui) · only source for this CVE.

CVSS VectorVendor: https://github.com/open-webui/open-webui

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

Redis Cache Keys tool_servers and terminal_servers Missing Instance Prefix Enable Cross-Instance Cache Poisoning

Affected Component

Tool server and terminal server Redis cache:

  • backend/open_webui/utils/tools.py (line 841, tool_servers SET)
  • backend/open_webui/utils/tools.py (line 850, tool_servers GET)
  • backend/open_webui/utils/tools.py (line 976, terminal_servers SET)
  • backend/open_webui/utils/tools.py (line 986, terminal_servers GET)

Affected Versions

Current main branch (commit 6fdd19bf1) and likely all versions since the tool server / terminal server Redis cache was introduced.

Description

Open WebUI uses a REDIS_KEY_PREFIX (default open-webui) to namespace Redis keys, allowing multiple instances to safely share a single Redis backend. Every Redis key in the codebase uses this prefix - except the tool_servers and terminal_servers keys in utils/tools.py, which use bare key names.

When two or more Open WebUI instances share a Redis database (a supported and documented deployment pattern, e.g., for multi-region deployments, blue-green setups, or cluster topologies), the unprefixed keys collide. An admin on Instance A writing to tool_servers overwrites the value read by Instance B - causing Instance B's users to receive Instance A's tool server configuration.

python
# utils/tools.py - unprefixed keys (problem)
await request.app.state.redis.set('tool_servers', ...)
# line 841
json.loads(await request.app.state.redis.get('tool_servers'))
# line 850
await request.app.state.redis.set('terminal_servers', ...)
# line 976
json.loads(await request.app.state.redis.get('terminal_servers'))
# line 986
# Every other Redis key in the codebase - prefixed (correct pattern)
f'{REDIS_KEY_PREFIX}:auth:token:{jti}:revoked'
f'{REDIS_KEY_PREFIX}:ratelimit:{email}:{bucket}'
f'{REDIS_KEY_PREFIX}:tasks:commands'

Attack Scenario

Two Open WebUI instances (A and B) share a Redis backend - a supported deployment for multi-region setups, blue-green deployments, or hot-standby. Both instances have their own admin accounts; the shared Redis was chosen for coordinated session handling, rate limiting, and task management.

  1. Attacker is an admin on Instance A (a legitimately provisioned admin, or one that escalated via any available path including the LDAP empty-password or stale-admin-role findings).
  2. Attacker on Instance A configures a tool server pointing to https://attacker-controlled.example.com/openapi.json. This triggers utils/tools.py:841 to write the new tool server list under the bare key tool_servers.
  3. Instance B's users query tools. Instance B reads from tool_servers (line 850) - gets Instance A's poisoned list, which now includes the attacker's server alongside or instead of Instance B's legitimate tool servers.
  4. Instance B's users invoke tools through the model's context. The attacker's server receives tool call payloads containing: chat content, user identity, OAuth tokens scoped to the tool server (if the user has bound their external account), and in-flight conversation context.
  5. The attacker's server returns arbitrary tool responses, which are fed back into Instance B's LLM context as "trusted tool output" - enabling prompt injection, misinformation delivery, and further data exfiltration cascades.

The same cross-instance poisoning applies to terminal_servers.

Impact

  • Cross-instance cache poisoning: an admin on one instance affects all users of another instance sharing the Redis backend
  • Data exfiltration: tool call payloads contain chat content and user identity, delivered to the attacker's server
  • Prompt injection delivery: attacker-returned tool responses enter the victim instance's LLM context as trusted data
  • Undermines the multi-instance isolation guarantee that REDIS_KEY_PREFIX was introduced to provide
  • Silent failure mode: no error is raised; the victim instance sees a valid, signed cache entry and has no way to detect it came from a different instance

Preconditions

  • Multiple Open WebUI instances share a single Redis backend (a supported and documented deployment)
  • Attacker has admin access on one of the instances (or escalates to admin via any available path)

Executive ViewAI

Why It Matters

Open WebUI versions prior to 0.9.0 contain a cross-instance cache poisoning vulnerability (CVSS 8.7) that allows administrators on one deployment instance to inject malicious tool configurations into shared Redis caches, compromising users on other instances and enabling exfiltration of chat content, user identities, and OAuth tokens. Organizations operating multi-region or blue-green deployments with shared Redis backends face immediate risk of data breach and unauthorized access to integrated tools and services.

Business Impact: High
Compensating Controls

Vendor-released patch: version 0.9.0. Interim mitigations prior to patching: (1) Segregate Redis instances per Open WebUI deployment to eliminate cross-instance cache sharing; (2) Restrict admin role assignments to essential personnel only and enforce MFA on all admin accounts; (3) Implement network segmentation to prevent lateral movement between Open WebUI instances; (4) Monitor Redis for unauthorized key writes via Redis ACLs and audit logging; (5) Disable or isolate tool_servers configuration until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Redis

View all
CVE-2026-48172 CRITICAL POC
10.0 May 21

Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2024-31449 HIGH
8.8

Alpine Linux: valkey fixed in 7.2.7-r0

CVE-2025-49844 CRITICAL POC
9.9 Oct 03

UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.

CVE-2025-46817 HIGH POC
8.8 Oct 03

Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle

CVE-2022-0543 CRITICAL POC
10.0 Feb 18

It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific

CVE-2018-11218 CRITICAL POC
9.8 Jun 17

Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,

CVE-2015-4335 CRITICAL POC
10.0 Jun 09

Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.

CVE-2016-8339 CRITICAL POC
9.8 Oct 28

A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr

CVE-2025-46819 HIGH POC
7.1 Oct 03

Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2025-46818 HIGH POC
7.3 Oct 03

CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy