/

CVE-2026-70494

Severity:

HIGH RISK

(8.1)

Broken Access Control (CWE-862) in Open WebUI Folders

CVE-2026-70494

Analyzed

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-862, CWE-863

Impact:

Unauthorized destructive modification and deletion of user-owned chat data

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Open WebUI contains an authorization flaw in shared chat folder deletion, allowing a collaborator with write access to act on chats and messages owned by another user. Under affected sharing and folder-hierarchy conditions, the collaborator may permanently delete the owner's content or force-move chats from the owner's folder subtree.

Affected context

The issue occurs in deployments using shared chat folders and inherited permissions. A user with write access to a shared folder may reach the folder deletion workflow, where authorization for the parent folder is not consistently applied to descendant folders and their contents. The risk depends on the folder hierarchy, sharing configuration, and permissions granted to the collaborator.

Exploit preconditions

  • Attack surface: Authenticated Open WebUI folder-management API - Required access: Write access to a shared chat folder, without requiring

ownership of the folder

  • Trigger point: Deletion of a shared folder through the folder API - Relevant condition: The folder contains owner-controlled chats, messages, or

subfolders with inherited permissions

  • Why exploitation is possible: The subfolder authorization check accepts an

inherited write grant instead of requiring ownership or administrator

privileges, while subsequent operations use the folder owner's identity

Why this happens

The underlying defect is inconsistent authorization enforcement across a hierarchical resource operation. The parent-folder check permits a collaborator with write access to enter a destructive workflow, but the descendant check does not require ownership or administrative authority before applying the operation to owner-controlled resources. This maps primarily to CWE-862, Missing Authorization, and also relates to CWE-863, Incorrect Authorization, because an insufficient permission is treated as adequate for a sensitive action.

Potential impact

  • A collaborator may permanently delete chats and messages belonging to the folder owner.
  • An attacker may destroy an owner's folder subtree.
  • Chats may be force-moved out of the owner's folder when content deletion is disabled.
  • Users may experience unauthorized data loss, loss of organization, or loss of trust in shared workspaces.

General mitigation guidance

Mitigation generally focuses on enforcing authorization consistently across every resource affected by a hierarchical operation. Destructive actions should require verified ownership or administrator authority, and inherited write access should not implicitly grant delete rights over another user's content. Authorization should be evaluated against each target resource before mutation, with secure-by-default behavior that denies ambiguous or incomplete permission states. Systems should also reduce reliance on client-supplied ownership context, apply least privilege to collaboration roles, and preserve audit records for destructive folder operations.

How teams detect issues like this

Detection can include static and dynamic checks that compare authorization requirements for parent resources with those applied to descendants. Code review should examine cascade operations, inherited permissions, identity binding, and any path where write access is treated as delete authority. API policy tests should verify that collaborators cannot delete or relocate resources owned by other users, including nested folders and empty-content variants. Audit monitoring can flag destructive folder actions performed by non-owners, while automated security review tools may help identify missing authorization checks.

Sources

SourceLink
github.comgithub.com/open-webui/open-webui/commit/915ef7d0798d3175819cedbb2f62d7bf0db78c98
github.comgithub.com/open-webui/open-webui/pull/27003
github.comgithub.com/open-webui/open-webui/releases/tag/v0.11.0
github.comgithub.com/open-webui/open-webui/security/advisories/GHSA-3cg5-48j3-v4gv

Frequently asked

questions

An authenticated collaborator may exploit it when granted write access to a shared folder that contains content or subfolders controlled by another user.

No. The authorization weakness allows an inherited write grant to pass a descendant-folder check that should require ownership or administrator authority.

Enforce authorization independently for every affected folder, chat, and message, and require ownership or explicit administrative permission for destructive operations.

Define separate permissions for viewing, writing, moving, and deleting; test inherited permissions across nested resources; and monitor destructive actions by non-owners.

Find out what's already
exploitable in your codebase.