Incorrect authorization in Discourse - #VU158262
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to overwrite or delete the token owner's private-message drafts without the required private-message write scope.
The vulnerability exists due to improper authorization in the Discourse MCP draft tools when processing private-message draft changes. A remote user can use a delegated token granted mcp:drafts:write but not mcp:private-messages:write to overwrite or delete the owner's private-message reply or compose drafts.
The MCP server must be enabled. Retained drafts associated with soft-deleted private-message topics are also affected; access does not extend to other users' drafts.