Incorrect authorization in Discourse - #VU158263
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote user to disclose the full raw text of moderator-hidden posts in private messages in which they participate.
The vulnerability exists due to improper authorization in the Discourse MCP discourse_read_private_message tool when applying hidden-content visibility restrictions. A remote user can read a private message using a valid OAuth authorization with private-message read scope to retrieve another participant's moderator-hidden posts that should be excluded from the output.