CVE-2026-72724

Discourse: Private Chat Threat Message Disclosure via Chat Onebox Channel/Threat ID Mismatch

Published Aug 10, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, plugins/chat/lib/chat/onebox_handler.rb resolves Chat::Thread by route thread_id independently of the route channel_id before checking whether the user can preview the selected chat channel. An authenticated user can pair a public channel ID with a private thread ID in a /onebox.json request and obtain private thread message content. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Analysis

AI-generated

Technical impact

An authenticated user can pair a public channel identifier with a private thread identifier in a /onebox.json request, causing the system to resolve the chat thread independently of the channel before checking preview permissions. This bypasses privacy controls and returns the private thread message content, resulting in the unauthorized disclosure of private chat data. The weakness is consistent with an authorization bypass flaw.

Affected Systems

Discourse, the open‑source discussion platform, is affected in releases prior to 2026.1.6, 2026.5.2, 2026.6.1 and 2026.7.0. Users running any of these vulnerable versions may expose private chat messages to any authenticated account.

Risk and Exploitability

The CVSS score of 4.3 implies a low overall severity but the vulnerability can leak confidential conversation data. Exploitation requires a valid authenticated session and access to the onebox.json endpoint, so the attack vector is a remote authenticated network request. Because the EPSS score is not available and the issue is not listed in the CISA KEV catalog, the likelihood of mass exploitation is currently low. Nevertheless, the private information exposed may be sensitive, warranting prompt remediation. The flaw has been fixed in the subsequent releases that list the patched versions and is no longer present once upgraded.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Discourse to a patched release such as 2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0 or later.
  • Verify that the chat plugin is enabled and that the /onebox.json endpoint no longer returns private thread data for authenticated users.
  • If an upgrade cannot be performed immediately, limit authenticated access to the /onebox.json endpoint via role‑based access control or network firewall rules to mitigate exposure.

Generated by OpenCVE AI on August 10, 2026 at 18:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, plugins/chat/lib/chat/onebox_handler.rb resolves Chat::Thread by route thread_id independently of the route channel_id before checking whether the user can preview the selected chat channel. An authenticated user can pair a public channel ID with a private thread ID in a /onebox.json request and obtain private thread message content. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.
Title Discourse: Private Chat Threat Message Disclosure via Chat Onebox Channel/Threat ID Mismatch
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 1:57 AM
Reserved
Aug 10, 2026, 1:48 PM
Status
Deferred
Published
Aug 10, 2026, 4:19 PM
Modified
Sep 8, 2026, 8:54 PM