Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2026-27454

5.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.
Description

Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, requesting /posts/:id.json?version=X bypassed authorization checks on post revisions. The display_post method called post.revert_to directly without verifying whether the revision was hidden or if the user had permission to view edit history. This meant hidden revisions (intentionally concealed by staff) could be read by any user by simply enumerating version numbers. Starting in versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, Discourse looks up the PostRevision and call guardian.ensure_can_see! before reverting, consistent with how the /posts/:id/revisions/:revision endpoint already authorizes access. No known workarounds are available.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
discourse
Updated Nov 15, 2026View on NVD →
S4E scanner
mediumMisconfiguration~10 seconds

Discourse <=2026.2.0 - Hidden Post Revision Disclosure via revert_to Authorization Bypass

Discourse versions before 2026.1.2, 2026.2.1, and 2026.3.0-latest.1 contain an authorization bypass in PostsController#display_post. The controller calls post.revert_to(params[:version]) directly whenever a version query parameter is present, without checking whether the corresponding PostRevision is hidden or whether the caller has permission to view edit history. By requesting a post at its publicly known version number via GET /posts/:id.json?version= , the next PostRevision's stored modifications are applied unconditionally. If staff have hidden that revision, its pre-edit content is returned to an unauthenticated caller. On patched installs the same request is rejected with 403 because guardian.ensure_can_see!(post_revision) is evaluated first. References: https://github.com/discourse/discourse/security/advisories/GHSA-fq69-f929-wp96 https://github.com/discourse/discourse/commit/8510fde30eb0d7f2dee822a95f6cf43b9ac943d0 https://nvd.nist.gov/vuln/detail/CVE-2026-27454 Remediation: Upgrade Discourse to 2026.1.2, 2026.2.1, 2026.3.0-latest.1, or later.

Used 20 times · 10 assets checked · domain, subdomain, ipv4

CVE history: discourse

Predict next CVE date with AI

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →