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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-10-14T15:37:02.240Z
- Modified: 2026-10-21T12:11:25.140Z
- Also known as: BIT-DISCOURSE-2026-91157, GHSA-298h-xgw6-4pv3
- Weaknesses: CWE-200, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- 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
- discourse (Bitnami): before 2026.1.9; from 2026.7.0 before 2026.7.3; from 2026.8.0 before 2026.8.1; from 2026.8.99 before 2026.9.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-298h-xgw6-4pv3> (web)
- <https://github.com/discourse/discourse/commit/16017732981fdb3ee65d7b3c69c573610bf02aab> (web)
- <https://github.com/discourse/discourse/commit/83f5f9f1df7ddc79ec0950e1b2038ba659635708> (web)
- <https://github.com/discourse/discourse/commit/98f1c021d0e956cded5239a5d8a6afe2b9e1b7e7> (web)
- <https://github.com/discourse/discourse/commit/b2fb98394b2636b29e850f06b0029f8ca8b48458> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-91157> (web)

## Sources

- CVE List: [CVE-2026-91157](https://www.cve.org/CVERecord?id=CVE-2026-91157), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-91157](https://nvd.nist.gov/vuln/detail/CVE-2026-91157), Public domain, modified 2026-10-20
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-91157](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-91157), Apache-2.0, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-91157 · Whole record: https://cve.day/CVE-2026-91157.json · Rebuilt by cve.day 2026-11-25T22:59:44.703Z
