CVE-2026-27454: Discourse has check revision visibility on posts endpoint

Published Mar 19, 2026
·
Updated

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 displaypost method called post.revertto 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.ensurecansee! before reverting, consistent with how the /posts/:id/revisions/:revision endpoint already authorizes access. No known workarounds are available.

Affected Software

4 affected components
Discourse Discourse<2026.3.0-latest.1, <2026.2.1, <2026.1.2
Discourse Discourse>=2026.1.0<2026.1.2
Discourse Discourse>=2026.2.0<2026.2.1
Discourse Discourse=2026.3.0

Event History

Mar 19, 2026
CVE Published
via MITRE·08:39 PM
Data Sourced
via MITRE·08:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-27454?

The severity of CVE-2026-27454 is considered to be moderate due to its potential to allow unauthorized access to post revisions.

2

How do I fix CVE-2026-27454?

To fix CVE-2026-27454, you should upgrade to Discourse versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later.

3

What versions of Discourse are affected by CVE-2026-27454?

CVE-2026-27454 affects Discourse versions prior to 2026.3.0-latest.1, 2026.2.1, and 2026.1.2.

4

What is the impact of CVE-2026-27454 on Discourse?

CVE-2026-27454 can bypass authorization checks on post revisions, potentially exposing sensitive content.

5

Is there a workaround for CVE-2026-27454 before applying the fix?

There are no known workarounds for CVE-2026-27454, so upgrading is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203