CVE-2026-91157: Discourse: Media uploads remain publicly accessible after category permissions are restricted

Published Oct 14, 2026
·
Updated

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.

Affected Software

1 affected component
Discourse Discourse<2026.9.0, <2026.8.1, <2026.7.3, <2026.1.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.9.0
  2. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.8.1
  3. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.7.3
  4. Upgrade

    Upgrade Discourse to a version that resolves this vulnerability.

    Fixed in 2026.1.9

Event History

Oct 14, 2026
CVE Published
via MITRE·03:37 PM
Data Sourced
via MITRE·03:37 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Affected deployments are Discourse sites with secure uploads enabled where a category that was previously public was later made read-restricted, or where category permissions changed during a bulk import. Uploads created while the category was public may remain anonymously accessible.

2

What would an attacker need to access affected media?

No authentication or user interaction is required. An anonymous user who has an affected upload's short URL can retrieve the media or attachment, including uploads associated with deleted topics.

3

Does deleting a topic remove exposure of its uploads?

Not necessarily. The issue explicitly includes uploads associated with deleted topics when those uploads retained their public accessibility flag.

4

Which versions contain the fix?

The issue is fixed in Discourse versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9. Deployments prior to those versions are affected under the described conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203