Skip to content
Heist/ feed
Back to feed
HighFix available

Discourse: Media uploads remain publicly accessible after category permissions are restricted

Type: advisorySources: OSV

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.

Products
discourse
Affected versions
Not specified
Fixed versions
2026.1.9, 2026.7.3, 2026.8.1, 2026.9.0
CVEs
CVE-2026-91157
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:09 UTC · Revision 1

Source evidence

Discourse: Media uploads remain publicly accessible after category permissions are restricted

core-osv · Original source

Published 21 Oct 2026, 08:47 UTC

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.

osv:BIT-discourse-2026-91157

discourse

Fixed versions: 2026.1.9, 2026.7.3, 2026.8.1, 2026.9.0

Complete source record
{
  "id": "4250a6e9b3082e416c0c78b528294f1a496a6de4e9cedb3cd7833612a889ad9b",
  "url": "https://osv.dev/vulnerability/BIT-discourse-2026-91157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Discourse: Media uploads remain publicly accessible after category permissions are restricted",
    "summary": "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.",
    "evidence": "osv:BIT-discourse-2026-91157",
    "products": [
      {
        "name": {
          "value": "discourse",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2026.1.9",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "2026.7.3",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "2026.8.1",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "2026.9.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-discourse-2026-91157",
      "aliases": [
        "BIT-discourse-2026-91157",
        "CVE-2026-91157",
        "GHSA-298h-xgw6-4pv3"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2026.1.9"
                },
                {
                  "introduced": "2026.7.0"
                },
                {
                  "fixed": "2026.7.3"
                },
                {
                  "introduced": "2026.8.0"
                },
                {
                  "fixed": "2026.8.1"
                },
                {
                  "introduced": "2026.8.99"
                },
                {
                  "fixed": "2026.9.0"
                }
              ]
            }
          ],
          "package": {
            "name": "discourse",
            "purl": "pkg:bitnami/discourse",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/discourse/BIT-discourse-2026-91157.json"
          }
        }
      ],
      "modified": "2026-10-21T12:11:25.140631331Z",
      "provider": "osv",
      "references": [
        "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",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-91157"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:*",
          "cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-91157",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 393033,
  "published_at": "2026-10-21T08:47:54.472+00:00"
}