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: n/a
KEV: No
Impact: Information disclosure of media and attachments to anonymous users
Action: Immediate patch
AI Analysis

Impact

The vulnerability occurs because Discourse encrypted upload metadata is not updated when a previously public category is made read‑restricted or when permissions are altered during a bulk import. A media file or attachment uploaded while the category is public keeps a public accessibility flag, allowing anyone who knows the short URL to view or download it, even if the category has become private or the topic has been 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

Misconfiguration is limited to the open‑source Discourse 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 affected 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. EPSS information is not available, but the lack of a KEV listing implies no widespread exploitation at the time of writing. 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 00:54 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 00:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-14T15:37:02.240Z

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

Link: CVE-2026-91157

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-14T16:17:56.583

Link: CVE-2026-91157

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T01:00:05Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-863

    Incorrect Authorization