Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.0, the terminal file-preview serveUrl iframe branch always granted allow-same-origin together with allow-scripts for HTML files served from the application origin. Any authenticated user with access to a configured terminal server could cause script in a previewed file to run in the Open WebUI origin, read the victim's session token from localStorage, and take over the account, with possible server-side code execution if the victim was an admin or held workspace.functions. This issue is fixed in 0.11.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-1021",
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70486.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.9.0"
},
{
"fixed": "0.11.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "65a5fad7b97db99d490d81f4e0860282c3a4543c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.11.0",
"range": [
{
"fixed": "f9590b8017199e56d5e953657e6498e3cef1d246"
}
],
"source": "REFERENCES_TAG"
}
]
}