PT-2026-89172
CVE-2026-87995
·
Published
2026-09-09
·
Updated
2026-10-01
Description by
CVSS 3.1
8.7
HighMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Open WebUI versions 0.8.11 through 0.11.0
Description
An issue exists where the in-app port preview renders content in an iframe sandbox that simultaneously grants
allow-scripts and allow-same-origin. Because the terminal proxy serves this content from the application's own origin, the sandbox fails to provide isolation. An authenticated user with access to a shared terminal server can host a malicious script on a previewed port. If a victim opens this preview, the script executes within the application origin, allowing the attacker to read the session token from localStorage and achieve full account takeover. If the victim has administrative privileges or workspace.functions permissions, this can lead to server-side code execution through Functions. This issue specifically affects deployments with a configured terminal server (TERMINAL SERVER CONNECTIONS) where TERMINAL PROXY HEADERS is unset and no CONTENT SECURITY POLICY is configured. The vulnerability is located in the src/lib/components/chat/FileNav/PortPreview.svelte component.Recommendations
Update Open WebUI to version 0.11.1.
As a temporary mitigation, operators can set a restrictive
CONTENT SECURITY POLICY to prevent the execution of unauthorized scripts in the proxied response. Found an issue in the description? Have something to add? Feel free to write us 👾