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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.04%, higher than 65% of CVEs (2026-12-01)
- Published: 2026-03-19T20:39:28.350Z
- Modified: 2026-09-08T08:46:21.697Z
- Also known as: BIT-DISCOURSE-2026-27454, GHSA-fq69-f929-wp96
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- discourse discourse: >= 2026.1.0-latest, < 2026.1.2; >= 2026.2.0-latest, < 2026.2.1; = 2026.3.0-latest; from 2026.1.0 before 2026.1.2; from 2026.2.0 before 2026.2.1; 2026.3.0
- discourse (Bitnami): from 2026.1.0 before 2026.1.2; from 2026.2.0 before 2026.2.1; from 2026.3.0 before 2026.3.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-fq69-f929-wp96> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/commit/8510fde30eb0d7f2dee822a95f6cf43b9ac943d0> (fix, patch)
- <https://github.com/discourse/discourse/commit/c0eeb5892f5d61ad62b057f4d468333a6e9f28c3> (fix, patch)
- <https://github.com/discourse/discourse/commit/c474fbd79d2bd231baafb4332970297d781f92ca> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27454> (web)

## Sources

- CVE List: [CVE-2026-27454](https://www.cve.org/CVERecord?id=CVE-2026-27454), CVE Terms of Use, modified 2026-03-20
- NVD: [CVE-2026-27454](https://nvd.nist.gov/vuln/detail/CVE-2026-27454), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-27454](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-27454), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-27454 · Whole record: https://cve.day/CVE-2026-27454.json · Rebuilt by cve.day 2026-11-25T22:59:16.185Z
