Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, post revisions that should be hidden from regular users could be leaked through visible diffs on adjacent revisions serialized by PostRevisionSerializer. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Published: 2026-07-09
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the post revision serializer of older Discourse releases caused hidden revisions to be included in the visible diff output. The only required condition is that a user accesses the diff between adjacent revisions, which is a normal feature for any forum member. Because hidden revisions contain content that is meant to be confidential, the bug leads to unintended disclosure of private information. This is an information‑exposure weakness identified as CWE‑200 and represents a direct breach of confidentiality for any user who can view the diff.

Affected Systems

The vulnerability affects every deployment of Discourse releases older than 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5. All such installations contain the unpatched core code; the issue is not limited to specific plugins or custom configurations.

Risk and Exploitability

The CVSS score of 5.3 classifies the issue as moderate severity, while the EPSS score of less than 1 percent indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, so no large‑scale exploitation is reported. The likely attack vector is trivial: any user who can view the diff between two posts can trigger the API that returns hidden revisions. Consequently, attackers can gain unauthorized access to concealed content with no special privileges, making this a risk that should be remediated promptly.

Generated by OpenCVE AI on July 29, 2026 at 11:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Discourse to version 2026.6.0 or newer, which contains the corrected PostRevisionSerializer.
  • If an immediate upgrade is not possible, disable or restrict the diff feature through site configuration to prevent users from viewing hidden revisions in diffs.
  • Review and limit the permissions that grant access to the post‑revision viewing API, ensuring only authorized roles can trigger it.
  • Check the official Discourse website or support channels for any additional security updates or advisories.

Generated by OpenCVE AI on July 29, 2026 at 11:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Thu, 09 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, post revisions that should be hidden from regular users could be leaked through visible diffs on adjacent revisions serialized by PostRevisionSerializer. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Title Discourse: Hidden post revisions leak through adjacent visible diffs
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T14:17:45.659Z

Reserved: 2026-07-07T15:00:50.979Z

Link: CVE-2026-59828

cve-icon Vulnrichment

Updated: 2026-07-10T14:17:40.868Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:00:12Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor