Skip to content
LowVulnerability

GHSA-jx2x-j75f-xq3j: Open WebUI: Read-Only Users Can Toggle Note Pin Status via Incorrect Permission Check (Write via Read-Only Access)

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.2
Fixed in
0.9.3
  • released May 9, 2026, 5 days before disclosure

Summary

Open WebUI's `POST /api/v1/notes/{id}/pin` endpoint toggles the `is_pinned` field but checks only `read` permission in `pin_note_by_id` (`backend/open_webui/routers/notes.py`), so users with read-only access to a shared note can pin and unpin it. The reporter tested this on v0.9.2 with default configuration and notes sharing enabled, and the update and delete endpoints correctly require `write`.

Mitigation

Change `permission='read'` to `permission='write'` in `pin_note_by_id` at `backend/open_webui/routers/notes.py`, line 437.