Alta

Open WebUI: A folder write-collaborator can permanently delete the owner's chats by deleting a shared subfolder

  • Publicada: 04.08.2026
  • Actualizado: 11.10.2026 14:19

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 delete_contents=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/open_webui/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.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) open-webui >= 0.10.0, < 0.11.0 0.11.0

Referencias

Puntuación CVSS 8.1/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Debilidad (CWE)
CWE-862, CWE-863
Plataforma
Python (PyPI)
Paquete
open-webui
Publicada
04.08.2026
Actualizado
11.10.2026 14:19

Fuentes y licencias

OSV / GitHub Advisory Database - PYSEC-2026-3638 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-3cg5-48j3-v4gv - CC BY 4.0

Historial de vulnerabilidades: open-webui

Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (161) en el archivo
Entradas en total
161
Primera → última
08.2024 09.2026
Sin corrección
11
Explotada en ataques
0

Distribución por gravedad

  • Crítica 1
  • Alta 77
  • Media 75
  • Baja 8

Divulgaciones por año

  1. 2024: 3
  2. 2025: 21
  3. 2026: 137
Gravedad:
  1. Open WebUI: A folder write-collaborator can permanently delete the owner's chats by deleting a shared subfolder esta entrada
    Alta · 8.1 CVE-2026-70494 >= 0.10.0, < 0.11.0 0.11.0
  2. Alta · 7.7 CVE-2026-59221 >= 0.9.6, < 0.10.0 0.10.0
  3. Alta · 7.3 CVE-2026-59214 < 0.10.0 0.10.0
  4. Alta · 8.7 CVE-2026-54011 < 0.9.6 0.9.6
  5. Alta · 7.1 CVE-2026-45349 < 0.9.0 0.9.0
  6. Alta · 7.7 CVE-2026-45303 < 0.6.5 0.6.5
  7. Alta · 7.1 CVE-2026-44569 < 0.6.19 0.6.19
  8. Alta · 8.1 CVE-2026-44565 < 0.6.10 0.6.10
  9. Alta · 7.3 CVE-2026-44566 < 0.1.124 0.1.124
  10. Alta · 7.3 CVE-2026-44567 < 0.1.124 0.1.124
  11. Alta · 7.3 CVE-2026-44549 < 0.8.0 0.8.0
  12. Crítica · 9.1 CVE-2026-44551 < 0.9.0 0.9.0
  13. Alta · 7.3 CVE-2026-44721 < 0.9.0 0.9.0
Mostrar más (18) Mostrando 60 de 78

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.