Incorrect authorization in Discourse - #VU158262

 

Incorrect authorization in Discourse - #VU158262

Published: October 28, 2026


Vulnerability identifier: #VU158262
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Discourse

Remediation

Install security update from vendor's website.

Discourse - addressed in versions 2026.7.4, 2026.8.2, 2026.9.1

External References

Related Security Bulletins