Skip to main content

Discourse EUVDEUVD-2026-36558

| CVE-2026-45085 MEDIUM
Missing Authorization (CWE-862)
2026-06-12 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access Discourse site anonymously
  2. Exploit
    Request calendar event linked to chat channel
  3. Execution
    API response serializes unredacted last_message DM
  4. Impact
    Read private direct message content without authorization

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The unauthenticated disclosure requires: both the chat plugin and discourse-calendar plugin enabled on the target instance, at least one calendar event linked to a chat channel, and that channel having a non-empty last_message value - no authentication or elevated privilege is required beyond the ability to view the calendar event. The thread-creation authorization bypass requires a logged-in user account with read-only access to a category whose associated chat channel is the target. The self-deleted-message restoration issue requires the original message author to have subsequently had their channel access revoked - a relatively uncommon administrative sequence. The moderator DM-leakage issue requires a moderator to open the flagged-message review UI for a channel while another channel (including a DM) has populated that channel's last_message slot with recent activity. Sites with the chat plugin disabled are fully unaffected; sites without discourse-calendar are unaffected by the anonymous disclosure issue specifically.

Impact

The published CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N scores 5.3 (Medium), but the PR:N and I:N assignments merit scrutiny: PR:N correctly reflects the worst-case unauthenticated calendar disclosure, yet three of the four sub-issues require an authenticated session (read-only user, message author, or moderator), and at least two produce integrity-class impacts (thread creation, message restoration) that the published I:N does not capture. EPSS at 0.04% (11th percentile) signals very low near-term exploitation probability, and the absence of a CISA KEV listing and public POC code confirms this is not a weaponized vulnerability. Real-world risk is highest for public-facing Discourse communities that have deployed both the chat and discourse-calendar plugins together, where private DM content could reach unauthenticated visitors without any user interaction. Sites with neither calendar nor chat enabled are entirely unaffected.

Exploit ScenarioDerived

An anonymous visitor to a Discourse community that has both the chat and discourse-calendar plugins enabled requests a calendar event page whose event is linked to an active chat channel; the API response serializes that channel's last_message field, exposing private DM content to the unauthenticated visitor without any special tooling or prior access. In a separate scenario, a forum member with only read-only access to a restricted category sends a crafted API request to the chat thread-creation endpoint, successfully creating a thread despite their designated read-only role.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

Discourse chat plugin across versions 2026.1.0-2026.4.x contains four authorization deficiencies (CWE-862) enabling both information disclosure and unauthorized write actions: calendar event API payloads expose the associated chat channel's last message - potentially a private DM - to unauthenticated users, while separate flaws allow read-only users to create chat threads, authors to restore their own deleted messages after losing channel access, and moderators reviewing flagged messages to inadvertently view unrelated DM content. Vendor-released patches exist for all supported branches; no public exploit identified at time of analysis and EPSS is 0.04% (11th percentile), but the unauthenticated DM disclosure warrants prompt patching on public-facing instances.

RemediationAI

Vendor-released patches are available: upgrade Discourse to version 2026.1.4, 2026.3.1, 2026.4.1, or 2026.5.0-latest.1 as applicable to the installed release branch, per the GitHub Security Advisory at https://github.com/discourse/discourse/security/advisories/GHSA-rw8j-p2gv-q33w. For sites unable to patch immediately, disabling the discourse-calendar plugin eliminates the unauthenticated DM-exposure vector - the most severe of the four issues - at the cost of removing all calendar functionality. Restricting calendar event access to authenticated users only reduces the anonymous exposure surface but does not address the three remaining authenticated authorization bypasses. Disabling the chat plugin entirely mitigates all four issues but removes all chat functionality. No workaround fully eliminates all four issues without patching.

Affected VersionsENISA

discourse 2026.3.0-latest, < 2026.3.1
discourse 2026.4.0-latest, < 2026.4.1
discourse 2026.1.0-latest, < 2026.1.4

Affected Packages

euvd discourse_2026_1_0_latest fix: 2026.1.4
euvd discourse_2026_3_0_latest fix: 2026.3.1
euvd discourse_2026_4_0_latest fix: 2026.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Discourse is a Ruby on Rails discussion platform whose chat functionality is provided as a bundled plugin; calendar integration is provided by the separate discourse-calendar plugin. The affected CPE is cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*. CWE-862 (Missing Authorization) underlies all four issues: the codebase fails to verify that the requester holds the necessary chat-access permissions before returning chat channel metadata or permitting write operations. Specifically, the calendar event serializer includes chat channel and last_message fields without gating on the viewer's chat visibility, and the chat thread creation endpoint does not enforce the read-only category constraint. The self-deleted-message restoration path bypasses the channel-revocation check, and the moderation review endpoint leaks cross-channel last_message data to moderators whose review context is a different channel.

Know when Discourse gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 6.5 MEDIUM

PR:N captures the anonymous calendar disclosure vector; I:L added because read-only users can create threads and authors can restore deleted messages, impacts the published vector omits.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jun 12, 2026 - 22:01 EUVD

DescriptionCVE.org

Discourse is an open-source discussion platform. From versions 2026.1.0-latest to before 2026.1.4, 2026.3.0-latest to before 2026.3.1, and 2026.4.0-latest to before 2026.4.1, four authorization/disclosure issues in the chat plugin (one also involving discourse-calendar): read-only category users could create chat threads, self-deleted chat messages could be restored by their author after channel access was revoked, moderators reviewing a flagged chat message were shown the channel's current last_message (often unrelated DM content), and calendar event payloads exposed the attached chat channel and its last message to viewers without chat access (including anonymous users). This affects sites with the chat plugin enabled; the calendar issue additionally requires discourse-calendar. This issue has been patched in versions 2026.1.4, 2026.3.1, 2026.4.1, and 2026.5.0-latest.1.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-48954 HIGH POC
8.1 Jun 25

Discourse versions prior to 3.5.0.beta6 contain a reflected cross-site scripting (XSS) vulnerability in social login fun

CVE-2022-46162 CRITICAL POC
9.8 Nov 30

discourse-bbcode is the official BBCode plugin for Discourse. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2026-27934 HIGH POC
8.7 Mar 19

Unauthorized information disclosure in Discourse discussion platform versions prior to 2026.3.0-latest.1, 2026.2.1, and

CVE-2024-47773 HIGH POC
8.2 Oct 08

Discourse is an open source platform for community discussion. Rated high severity (CVSS 8.2), this vulnerability is rem

CVE-2026-26265 HIGH POC
7.5 Feb 26

Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an insecure direct object reference (IDOR) in the

CVE-2021-3138 HIGH POC
7.5 Jan 14

In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms. Rated

CVE-2026-26077 MEDIUM POC
6.5 Feb 26

Unauthenticated attackers can submit forged webhook payloads to multiple email provider integrations in Discourse versio

CVE-2023-38706 MEDIUM POC
6.5 Sep 15

Discourse is an open-source discussion platform. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploi

CVE-2024-53991 MEDIUM POC
5.9 Dec 19

Discourse is an open source platform for community discussion. Rated medium severity (CVSS 5.9), this vulnerability is r

CVE-2025-48877 CRITICAL
9.8 Jun 09

Discourse versions prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed) contain a critical vu

CVE-2023-47121 CRITICAL
9.8 Nov 10

Discourse is an open source platform for community discussion. Rated critical severity (CVSS 9.8), this vulnerability is

CVE-2022-39355 CRITICAL
9.8 Oct 26

Discourse Patreon enables syncronization between Discourse Groups and Patreon rewards. Rated critical severity (CVSS 9.8

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy