CVE-2026-145071: Stoatchat before 0.16.5 Missing Authorization in DM Message Pin/Unpin
Stoatchat before 0.16.5 contains a missing authorization vulnerability in the direct-message pin and unpin endpoints that allows authenticated users to pin or unpin messages in DMs they do not participate in. Attackers can send POST or DELETE requests to the channel message pin route with a known DM channel and message ULID to alter pinned state and inject system messages into private conversations.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated Stoatchat user can exploit it. The attacker does not need to participate in the target direct-message conversation, but needs to know the DM channel identifier and message ULID.
What can an attacker change in an affected private conversation?
An attacker can pin or unpin messages in direct-message channels they do not belong to. The action can also inject system messages into those private conversations.
Which versions need to be remediated?
Stoatchat versions before 0.16.5 are affected. Upgrade to 0.16.5 or later to address the missing authorization check.