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.
Published: 2026-08-10
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Mon, 10 Aug 2026 16:15:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-10T15:59:53.965Z

Reserved: 2026-08-10T13:48:09.545Z

Link: CVE-2026-72724

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:15:11Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key