Skip to content
MediumVulnerability

GHSA-5gc6-xhv4-2wg6: Open WebUI has an IDOR vulnerability in the pin_channel_message API endpoint

Published
Record updated
View JSON
Affected
  • open-webui <= 0.9.4
Fixed in
0.9.5
  • released May 10, 2026, 4 days before disclosure

Summary

Open WebUI's pin_channel_message endpoint (POST /api/v1/channels/{id}/messages/{message_id}/pin) checks only read permission on standard channels, so a user with read-only access can pin and unpin any message. The flaw is an insecure direct object reference: the endpoint modifies is_pinned, pinned_by and pinned_at without a write check. The impact is limited to disrupting the display of important information in the channel.

Mitigation

Change the Pin endpoint's permission check from `read` to `write`.