Incorrect authorization in Discourse - #VU158259
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to disclose the authorizing user's retained private-message reply draft without the required private-message read scope.
The vulnerability exists due to incorrect authorization caused by misclassification of soft-deleted private-message topics in the Discourse MCP discourse_get_draft tool when retrieving retained reply drafts. A remote user can request a retained draft associated with a soft-deleted private-message topic using an OAuth client with draft-read access but without mcp:private-messages:read to retrieve its private content.
The MCP server feature must be enabled. Draft lookups remain restricted to the authorized user and do not expose other users' drafts.