CVE-2026-91157
published high CVSS 3.1 · 7.5Discourse: Media uploads remain publicly accessible after category permissions are restricted
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse< 2026.1.9 · >= 2026.7.0-latest, < 2026.7.3 · >= 2026.8.0-latest, < 2026.8.1 · >= 2026.9.0-latest, < 2026.9.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | < 2026.1.9 (affected)>= 2026.7.0-latest, < 2026.7.3 (affected)>= 2026.8.0-latest, < 2026.8.1 (affected)>= 2026.9.0-latest, < 2026.9.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-863 CWE-863: Incorrect Authorization
References
5- https://github.com/discourse/discourse/commit/16017732981fdb3ee65d7b3c69c573610bf02aab
- https://github.com/discourse/discourse/commit/83f5f9f1df7ddc79ec0950e1b2038ba659635708
- https://github.com/discourse/discourse/commit/98f1c021d0e956cded5239a5d8a6afe2b9e1b7e7
- https://github.com/discourse/discourse/commit/b2fb98394b2636b29e850f06b0029f8ca8b48458
- https://github.com/discourse/discourse/security/advisories/GHSA-298h-xgw6-4pv3
Provider assertions
2GitHub_M · cna
Discourse: Media uploads remain publicly accessible after category permissions are restricted
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b4883fa012ed44407b1a88322e435f82f495cbe388b01b97a42572748509375f
- Ingested
- 20 Oct 2026, 01:54:12 UTC
- Source record
- Official CVE record