PatchSiren cyber security CVE debrief
CVE-2026-91157 discourse CVE debrief
Discourse sites with secure uploads enabled did not update existing upload security metadata when category permissions changed. Media and attachments uploaded while a category was public retained public accessibility and remained reachable by anonymous users through 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.
- Vendor
- discourse
- Product
- Unknown
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-14
- Original CVE updated
- 2026-10-14
- Advisory published
- 2026-10-14
- Advisory updated
- 2026-10-14
Who should care
Discourse site administrators, security teams, and users with access to media uploads should assess exposure and apply patches to prevent unauthorized access. This includes reviewing category permissions, upload security metadata, and monitoring for unauthorized access to media and attachments through short upload URLs. Prioritization should be given to sites with secure uploads enabled, especially those with public categories or recent permission changes.
Why it matters
Defenders should prioritize verifying exposure and applying patches for Discourse sites with secure uploads enabled, especially those with public categories or recent permission changes. The vulnerability allows media and attachments to remain publicly accessible even after category permissions are restricted.
- Verify exposure of media uploads and apply patches to prevent unauthorized access
- Review category permissions and upload security metadata to ensure proper configuration
- Monitor for unauthorized access to media and attachments through short upload URLs
Technical summary
Discourse sites with secure uploads enabled did not reconcile existing upload security metadata when category permissions changed. This resulted in media and attachments uploaded while a category was public remaining publicly accessible through short upload URLs. The issue allows unauthorized users to access media and attachments associated with deleted topics, posing a significant risk to sites with public categories or recent permission changes. Defenders should prioritize verifying exposure and applying patches for Discourse sites with secure uploads enabled.
Defensive priority
Defenders should prioritize verifying exposure and applying patches for Discourse sites with secure uploads enabled, especially those with public categories or recent permission changes.
Recommended defensive actions
- Verify Discourse site versions and apply patches to ensure secure uploads are properly configured
- Review category permissions and upload security metadata for potential exposure
- Monitor for unauthorized access to media and attachments through short upload URLs
- Perform a thorough review of existing media uploads and their accessibility
- Update incident response plans to include checks for this vulnerability
- Conduct a security audit to identify any exposed media uploads
- Implement additional monitoring for access to media and attachments
Evidence notes
The CVE record and source item provide details on the vulnerability and fixed versions. However, additional information on exploitation or victim impact is not available. Defenders should verify exposure and apply patches for Discourse sites with secure uploads enabled, especially those with public categories or recent permission changes. The lack of information on exploitation or victim impact makes it crucial to prioritize verification and patching based on the available details.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-91157 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-91157
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-91157 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-91157
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Discourse: Media uploads remain publicly accessible after category permissions are restricted
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/91xxx/CVE-2026-91157.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/discourse/discourse/security/advisories/GHSA-298h-xgw6-4pv3
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/discourse/discourse/commit/16017732981fdb3ee65d7b3c69c573610bf02aab
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/discourse/discourse/commit/83f5f9f1df7ddc79ec0950e1b2038ba659635708
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/discourse/discourse/commit/98f1c021d0e956cded5239a5d8a6afe2b9e1b7e7
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/discourse/discourse/commit/b2fb98394b2636b29e850f06b0029f8ca8b48458
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.