GHSA-3cg5-48j3-v4gv: High severity pip/open-webui vulnerability

Published Aug 4, 2026
·
Updated

Summary A user granted write access to a shared chat folder could permanently delete chats and messages belonging to the folder's owner. Deleting a folder cascades into the owner's chats and the entire subfolder subtree, and the deletion handler required only write access on subfolders instead of ownership. Root folders were restricted to the owner or an admin, subfolders were not.

Preconditions The Folders Sharing permission (user.permissions.sharing.folders) must be enabled; it is off by default. The victim must have shared a folder with the attacker at write access. features.folders and the chat.delete permission are enabled by default and are both required. Deployments that leave folder sharing disabled are not affected, and neither are single-user instances.

Impact Permanent, irreversible destruction of another user's chat history within and beneath a shared folder. With deletecontents=false the same request instead force-moved the owner's chats out of the folder, an unauthorized relocation rather than a deletion. The write grant on the shared root folder is inherited by every descendant, so the attacker could destroy subfolders that were never explicitly shared with them. Nothing outside the shared folder's subtree is reachable, and no data is disclosed that write access did not already expose.

Fix Fixed in 0.11.0 by https://github.com/open-webui/open-webui/pull/27003. Folder deletion is now restricted to the folder owner or an admin for root folders and subfolders alike, replacing the previous root/subfolder split with a single check. Upgrading fully resolves the issue; no configuration change is required. Owners and admins are unaffected, and a write-collaborator can still create, rename and add to shared folders and delete subfolders they own.

Root cause Affected component: backend/openwebui/routers/folders.py, the DELETE /api/v1/folders/{id} handler. Affected setup: any release from 0.10.0 onward that has folder sharing enabled.

The cascade that follows the authorization check is bound to the folder owner's id, not the caller's, so whoever passes the check deletes the owner's data. The check itself branched on whether the folder had a parent: root folders demanded ownership or admin, while subfolders accepted any write grant. Because write grants propagate down the folder tree, that branch handed every collaborator deletion rights over the owner's subtree, which is broader than what the sharing model grants write access.

Credits @legobattman, who reported the issue and its remediation.

Affected Software

1 affected componentFixes available
pip/open-webui>=0.10.0<0.11.0
0.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/open-webui to a version that resolves this vulnerability.

    Fixed in 0.11.0
  2. Upgrade

    Upgrade open-webui to a version that resolves this vulnerability.

    Fixed in 0.11.0Patch https://github.com/open-webui/open-webui/pull/27003
  3. Configuration

    Ensure folder sharing is disabled (user.permissions.sharing.folders is off by default) to avoid the affected DELETE /api/v1/folders/{id} behavior on shared folders.

    Open WebUI user.permissions.sharing.folders = off (disable folder sharing)
  4. Configuration

    Confirm features.folders is enabled only if needed; the issue is stated as requiring features.folders enabled.

    Open WebUI features.folders = enabled
  5. Configuration

    The issue requires chat.delete to be enabled; disable chat.delete if not required to reduce exposure to irreversible deletion.

    Open WebUI chat.delete = enabled

Event History

Aug 4, 2026
Advisory Published
via GitHub·08:58 PM
Data Sourced
via GitHub·08:58 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-3cg5-48j3-v4gv?

The severity of GHSA-3cg5-48j3-v4gv is high with a CVSS score of 8.1.

2

How do I fix GHSA-3cg5-48j3-v4gv?

To fix GHSA-3cg5-48j3-v4gv, ensure that write access to shared chat folders is restricted to prevent unauthorized deletion.

3

What are the risks associated with GHSA-3cg5-48j3-v4gv?

The risks associated with GHSA-3cg5-48j3-v4gv include unauthorized deletion of chats and messages in shared folders.

4

Which software is affected by GHSA-3cg5-48j3-v4gv?

GHSA-3cg5-48j3-v4gv affects the pip/open-webui software.

5

What user permissions lead to the vulnerability in GHSA-3cg5-48j3-v4gv?

The vulnerability in GHSA-3cg5-48j3-v4gv arises when users with write access can delete chat folders, impacting the owner’s messages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203