Open WebUI Exposes System Prompt to Regular User [Non-Admin]
CVE-2026-45351 · GHSA-jh9g-8jqw-m2qx · published 2026-05-14 · updated 2026-05-19
- Severity
- Medium
- CVSS score
- 6.5
- Chance of exploitation (EPSS)
- 0.28%
- Fixed in
- 0.8.9
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
1. System prompts can reveal the model instructions, providing an attackers with inside knowledge about the system capabilities and bypass restrictions. 2. Attacker can perform content manipulation affecting the input/output of the model.
Upgrade open-webui to 0.8.9 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
1. The web response should not reveal system prompt and related internal/back-end details regarding the model to the regular user. 2. Only the model name and non-sensitive details should be revealed to regular user and internal/back-end details should not be disclosed.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-webui | PyPI | <= 0.8.8 | 0.8.9 |
- CriticalPhoenix: Format String Injection in applyChatTemplatearize-phoenix
- CriticalFlowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected serviceflowise
- CriticalMLflow: Environment variable injection in AI Gateway secrets enables server-side credential exfiltrationmlflow
- CriticalvLLM has RCE In Video Processingvllm
- HighConfig revision hashes could expose password verifiersopenclaw
- Highn8n: Shared Credential Header Leak via HTTP Request Pagination Expressionn8n, n8n, n8n
- CriticalOpen WebUI has an LDAP Empty Password Authentication Bypassopen-webui
- HighTerminal users can manage Terminals policies and other users' terminals via the terminal proxyopen-webui
- HighAny authenticated user can steal another user's session token via script embedded in a DOCX previewopen-webui
- HighViewer session token theft via a script link in a shared chat's citationopen-webui
- HighAny website can steal a signed-in user's session token via the community stats message handleropen-webui
- HighOpen WebUI: Non-admin users can delete admin-owned external knowledge connections via knowledge base deletionopen-webui
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.