Incorrect authorization in Discourse - CVE-2026-91157
Published: October 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to access media and attachments intended to be private.
The vulnerability exists due to incorrect authorization in Discourse's upload access controls when category permissions are changed from public to restricted, including during bulk import operations. A remote attacker can request the short URLs of previously public uploads that retain their public-access flag to access media and attachments despite the category's read restrictions.
Only sites with secure uploads enabled are affected. The exposure also includes uploads in deleted topics.