# CVE-2026-72732: Discourse Templates endpoint information disclosure via tag filtering bypass

Source: https://junglewise.ai/threats/cve-2026-72732-discourse-templates-endpoint-information-disclosure-via-tag  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-10. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-72732 · Severity: medium · CVSS 4.3 · Published 2026-08-10

Discourse is an open-source community discussion platform used to host forums and knowledge bases. A flaw in the Templates endpoint allows authenticated users to view hidden tag names that they are not permitted to access, potentially exposing sensitive organizational or content categorization information. This is an authorization bypass that does not require elevated privileges.

Technologies: [Discourse](https://junglewise.ai/threats/technologies/discourse). Vendors: [Discourse](https://junglewise.ai/threats/vendors/discourse).

## Quick answers

**Is CVE-2026-72732 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-72732 being exploited in the wild.

**How severe is CVE-2026-72732?** Medium severity, with a CVSS score of 4.3, published 10 August 2026.

**Which products and versions are affected?** Discourse prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

**Is there a fix for CVE-2026-72732?** A patch was published on 2026-08-10: Fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-72732 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-72732?** Check whether you run Discourse at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is an authorization bypass in the DiscourseTemplates::TemplatesSerializer component (plugins/discourse-templates/app/serializers/discourse_templates/templates_serializer.rb). The serializer failed to filter tags through the request Guardian, which is Discourse's permission-checking mechanism, allowing users to view tags restricted by tag group permissions. The endpoint is network-accessible to authenticated users, and the fix involves adding proper Guardian filtering to respect tag group permissions before serializing tag data. Patches are available in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

## Affected products

- Discourse Discourse prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0

## Timeline

- 2026-08-10: disclosed
- 2026-08-10: patched: Fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0

## References

- [https://github.com/discourse/discourse/commit/25e9d55b4c652b8dc1c90f44c40c8f3fec77748c](https://github.com/discourse/discourse/commit/25e9d55b4c652b8dc1c90f44c40c8f3fec77748c)
- [https://github.com/discourse/discourse/commit/c9b431b3b75727f7132ec231142371d203a6124b](https://github.com/discourse/discourse/commit/c9b431b3b75727f7132ec231142371d203a6124b)

## Related threats

- [Discourse reflected cross-site scripting in email unsubscribe](https://junglewise.ai/threats/cve-2017-20290-discourse-1-9-0-beta2-before-1-9-0-beta13-contains-a-reflected)
- [Discourse oEmbed HTML injection in iframe allowlist](https://junglewise.ai/threats/cve-2026-91159-discourse-is-an-open-source-discussion-platform-prior-to-2026-9-0)
- [Discourse insufficient upload security metadata reconciliation](https://junglewise.ai/threats/cve-2026-91157-discourse-is-an-open-source-discussion-platform-prior-to-2026-9-0)
- [Discourse HTML injection in chat message excerpts](https://junglewise.ai/threats/cve-2026-91121-discourse-is-an-open-source-discussion-platform-prior-to-2026-1-8)
- [Discourse HTML injection in lazy video embed notifications](https://junglewise.ai/threats/cve-2026-91120-discourse-is-an-open-source-discussion-platform-prior-to-2026-1-8)
