Open WebUI: Sharing models for others to use (read permission) also exposes model details (system prompt leakage)
CVE-2026-45387 · GHSA-h2cw-7qw9-56xr · published 2026-05-14 · updated 2026-05-15
- Severity
- Medium
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 0.9.5
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
System prommpt leakage If this is intended behavior for the "read" permission, maybe there should be an additional "use" permission (which would be 99% of use cases of the read permission i believe).
Upgrade open-webui to 0.9.5 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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| open-webui | PyPI | <= 0.9.4 | 0.9.5 |
- 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.