Description
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, sites with secure uploads enabled did not reconcile existing upload security metadata when a previously public category became read-restricted or when category permissions changed during a bulk import. Media and attachments uploaded while the category was public retained a public accessibility flag and remained reachable by anonymous users through their short upload URLs, including uploads associated with deleted topics. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
Published: 2026-10-14
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure of media and attachments to anonymous users
Action: Immediate patch
AI Analysis

Impact

The vulnerability occurs because Discourse encrypts upload metadata but does not reconcile it when a category that was public becomes read‑restricted or when permissions change during a bulk import. A media file or attachment uploaded while the category was public retains a public accessibility flag, allowing anyone who knows the short URL to view or download it—even if the category later becomes private or the topic was deleted. The flaw enables unauthorized disclosure of content that was intended to be restricted, potentially exposing personal data, violating privacy policies, or aiding further threats. This vulnerability is a CWE‑200 and CWE‑863 flaw.

Affected Systems

The issue is limited to Discourse, the open‑source discussion platform. All releases older than 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9 are vulnerable when secure uploads are enabled and a category changes from public to restricted or is impacted by a bulk import. Upgrade to any of these four fixed releases removes the issue.

Risk and Exploitability

The CVSS score of 7.5 classifies the flaw as high severity. The EPSS score is < 1%, indicating a very low but nonzero likelihood of exploitation, and the vulnerability is not listed in CISA's KEV catalog. Attackers can reach the vulnerable media simply by accessing a known or guessable short URL, so the attack vector is remote and does not require privileged credentials. Exploitation requires that the site has secure uploads enabled and that the category permissions have been modified after the upload; the attacker must only preserve the existing URL, making the flaw readily exploitable under these conditions.

Generated by OpenCVE AI on October 15, 2026 at 18:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Discourse instance to version 2026.9.0, or to 2026.8.1, 2026.7.3, or 2026.1.9, which contain the security fix.
  • Run an administrative script or use the Discourse API to set the ‘public’ flag to false on all existing uploads that were granted public visibility by legacy category settings.
  • If an immediate upgrade is not possible, temporarily disable the secure uploads feature for the affected site until a patch can be applied and then re‑enable it after correcting permissions.
  • Review and delete or rebuild any short URLs that were exposed to anonymous users to ensure no unintended content remains publicly accessible.

Generated by OpenCVE AI on October 15, 2026 at 18:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 24 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Tue, 20 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, sites with secure uploads enabled did not reconcile existing upload security metadata when a previously public category became read-restricted or when category permissions changed during a bulk import. Media and attachments uploaded while the category was public retained a public accessibility flag and remained reachable by anonymous users through their short upload URLs, including uploads associated with deleted topics. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
Title Discourse: Media uploads remain publicly accessible after category permissions are restricted
Weaknesses CWE-200
CWE-863
References
Metrics cvssV3_1

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


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-20T01:35:25.492Z

Reserved: 2026-09-14T21:20:41.196Z

Link: CVE-2026-91157

cve-icon Vulnrichment

Updated: 2026-10-20T01:35:21.271Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T16:17:56.460

Modified: 2026-10-20T02:17:13.223

Link: CVE-2026-91157

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T02:30:17Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-863

    Incorrect Authorization