Files
open-webui/backend/open_webui/routers
Classic298andkikayli d3737176bc fix: require write permission for pin_channel_message on standard channels (#24521)
`pin_channel_message` (channels.py:1242) checked `permission='read'` on
the standard-channel branch before mutating `is_pinned` / `pinned_by` /
`pinned_at` via `Messages.update_is_pinned_by_id`. Pin/unpin is a write
operation; gating it on read access let any user with read-only channel
access pin or unpin any message in the channel, including admin posts.

One-character fix: change `permission='read'` to `permission='write'`.

Reported by kikayli in GHSA-5gc6-xhv4-2wg6.

Co-authored-by: kikayli <kikayli@users.noreply.github.com>
2026-05-11 00:59:50 +09:00
..
2026-04-12 18:12:59 -05:00
2026-05-09 15:25:27 +09:00
2026-04-21 13:46:39 +09:00
2026-05-09 08:28:29 +09:00
2026-05-09 15:25:27 +09:00
2026-04-12 18:12:59 -05:00
2026-04-12 18:12:59 -05:00
2026-04-21 15:52:00 +09:00
2026-04-12 14:22:11 -05:00
2026-04-19 22:45:54 +09:00
2026-04-17 14:28:18 +09:00
2026-05-09 04:17:58 +09:00
2026-05-09 15:25:27 +09:00
2026-04-20 08:53:06 +09:00
2026-04-12 14:22:11 -05:00
2026-05-09 05:14:55 +09:00
2026-04-20 08:36:24 +09:00
2026-04-24 18:48:21 +09:00
2026-04-13 14:08:58 -05:00