CVE-2026-59828
JSON

5.3medium

Discourse: Hidden post revisions leak through adjacent visible diffs

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2026-59828GHSA-q456-4f8q-42vx

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.

Affected

Product or packageVersionsReported by
discourse discourse>= 2026.1.0-latest, < 2026.1.5, >= 2026.4.0-latest, < 2026.4.2, >= 2026.5.0-latest, < 2026.5.1, from 2026.1.0 before 2026.1.5, from 2026.4.0 before 2026.4.2, from 2026.5.0 before 2026.5.1, 2026.6.0CVE List, NVD
discourse (Bitnami)from 2026.1.0 before 2026.1.5, from 2026.4.0 before 2026.4.2, from 2026.5.0 before 2026.5.1, from 2026.6.0 before 2026.7.0Bitnami Vulnerability Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

https://github.com/discourse/discourse/security/advisories/GHSA-q456-4f8q-42vxadvisory, vendor-advisory
https://github.com/discourse/discourse/commit/1f26c1163ce87a2abbd1d01780ab1b5fb16e75f6fix, patch
https://github.com/discourse/discourse/commit/8b773332b0f937dfcd894ed56d56fc5a81578d9dfix, patch
https://github.com/discourse/discourse/commit/8d36da1b68c906592abde3f2e94d505cdf097435fix, patch
https://github.com/discourse/discourse/commit/d58988d46bb1019bfa8b8330ae81a1a134e08511fix, patch
https://github.com/discourse/discourse/releases/tag/v2026.1.5article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.4.2article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.5.1article, release-notes
https://github.com/discourse/discourse/releases/tag/v2026.6.0article, release-notes
https://nvd.nist.gov/vuln/detail/CVE-2026-59828web

Sources

SourceRecordLicence
CVE ListCVE-2026-59828 changed 2026-07-10CVE Terms of Use
NVDCVE-2026-59828 changed 2026-07-13Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-59828 changed 2026-09-08Apache-2.0