CVE-2026-21865
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-21865 is a missing authorization vulnerability in Discourse, an open-source discussion platform, that allows moderators to convert private personal messages into public topics without proper authorization. Disclosed on January 28, 2026, it affects Discourse versions prior to 3.5.4 (stable), 2025.11.2, 2025.12.1, and 2026.1.0. It carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Red Hat CVE).

Technical details

The root cause is CWE-862 (Missing Authorization) — the application fails to properly enforce access controls when moderators attempt to convert personal messages to public topics. Specifically, the topic conversion functionality does not verify whether the moderator has the necessary permissions to access the personal message being converted, allowing the action to proceed when it should be blocked. Exploitation requires an authenticated moderator account and is performed over the network with low attack complexity (GitHub Advisory).

Impact

Successful exploitation allows moderators to expose the contents of private personal messages by converting them into publicly visible topics, resulting in high confidentiality and integrity impact. Sensitive private communications between users — which may include personal, organizational, or confidential information — can be made accessible to all forum members or the public. There is no availability impact, and the scope is unchanged, meaning the vulnerability is contained to the Discourse instance itself (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.026% (0.000260), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a privileged moderator account, which significantly limits the attack surface (GitHub Advisory).

Exploitation steps

  1. Obtain Moderator Access: Attacker must already possess or compromise a moderator-level account on the target Discourse instance.
  2. Identify Target Personal Message: Locate a personal message thread that the moderator should not have access to convert — typically one involving users outside the moderator's permitted scope.
  3. Invoke Topic Conversion: Use the Discourse moderator interface or API to trigger the "convert personal message to public topic" functionality on the identified message thread.
  4. Bypass Authorization Check: Due to the missing authorization control, the application processes the conversion request without verifying the moderator's permission to access that specific personal message.
  5. Expose Private Content: The personal message is converted to a public topic, making its contents visible to all users or the general public on the forum (GitHub Advisory).

Indicators of compromise

  • Logs: Discourse application logs showing moderator accounts performing topic conversion actions (convert_topic or similar API calls) on personal message threads, particularly for messages they are not participants in.
  • Database/Audit: Audit log entries recording personal messages being converted to public topics by moderator accounts, especially in bulk or targeting sensitive user conversations.
  • Application Events: Unexpected public topics appearing in the forum that contain content previously only visible in private message threads, attributed to moderator conversion actions.

Mitigation and workarounds

Discourse has released patched versions: 3.5.4 (stable), 2025.11.2, 2025.12.1, and 2026.1.0 — upgrading to any of these versions is the recommended remediation. As an interim workaround, site administrators can revoke the moderation role from untrusted moderators or remove the moderator group from the "personal message enabled groups" site setting until the instance is upgraded (GitHub Advisory).

Community reactions

The vulnerability was assigned a "Moderate" severity rating by the Discourse maintainer (davidtaylorhq) who published the GitHub Security Advisory on January 28, 2026. Coverage has been limited to vulnerability aggregator sites and security news feeds, with no notable independent researcher commentary or significant social media discussion identified (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-translations-common
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • firefox-esr
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management