CVE-2026-49256: Discourse Tag Metadata Disclosure – Information Leak to Unauthorized Users
Discourse, a popular open-source discussion platform, was leaking sensitive metadata to unauthorized users. Specifically, restricted tag and tag-group names that should have been hidden were becoming visible to anonymous visitors and users without proper permissions when viewing publicly readable categories. This information disclosure occurred through the category and group API endpoints. Four patch versions address this issue across the supported release branches.
Source data · NVD / CISA · public domain
- 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
- Weaknesses (CWE)
- CWE-200
- Affected products
- 2 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-14
NVD description (verbatim)
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, restricted tag and tag-group names attached to publicly readable categories as allowed_tags, allowed_tag_groups, or required tag groups could leak to anonymous and unauthorized users through category and group endpoints. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
A broken access control vulnerability in Discourse allows unauthorized information disclosure of tag and tag-group metadata. When tags or tag groups are configured as allowed_tags, allowed_tag_groups, or required_tag_groups on publicly readable categories, their names are inappropriately exposed through category and group endpoints without proper authorization checks. An unauthenticated attacker can query these endpoints to enumerate restricted tagging schemes, revealing internal organizational metadata that should remain confidential. The vulnerability stems from insufficient access control on metadata endpoints rather than authentication bypass. The issue affects multiple Discourse release branches and is resolved in 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Business impact
This vulnerability enables competitive intelligence gathering and reconnaissance. Exposed tag names and groupings often reflect internal organizational structure, workflow categories, and operational priorities—information that competitors or threat actors can weaponize for targeted social engineering or phishing campaigns. For enterprises using Discourse as an internal or semi-public collaboration platform, leaked metadata can enable privilege escalation attacks by revealing which categories require specific tag governance. The impact is information disclosure only; attackers cannot modify content, crash the service, or access restricted data beyond the tag metadata itself. However, the reputational risk is non-trivial for organizations relying on Discourse for sensitive discussions.
Affected systems
All Discourse installations prior to versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5 are affected. This includes standard deployments and self-hosted instances. The vulnerability manifests only when restricted tag configurations are applied to publicly readable categories—private or restricted categories are not affected by this leak. Organizations using Discourse with public community areas, open forums, or public-facing discussion channels while managing internal tagging schemes should prioritize assessment and patching.
Exploitability
Exploitability is high with no barriers to attack. The vulnerability requires no authentication, no user interaction, and no special network positioning—an attacker with internet access to a Discourse instance can directly query the affected endpoints to extract tag metadata. The CVSS score of 7.5 (HIGH) reflects the network-accessible nature and complete information disclosure. However, exploitation is passive reconnaissance rather than active compromise; no exploit kit, worm propagation, or widespread active exploitation is reported. The vulnerability does not appear in the CISA KEV catalog, indicating no evidence of in-the-wild weaponization at publication time, though opportunistic scanning and enumeration by threat actors is probable.
Remediation
Apply security patches immediately to all supported Discourse instances. The vendor has released fixes across multiple branches: upgrade to 2026.6.0, 2026.5.1, 2026.4.2, or 2026.1.5 depending on your current version track. Verify compatibility with plugins and custom configurations before deploying to production. Organizations unable to patch immediately should audit which categories have restricted tags configured and consider temporarily disabling public access to those categories or removing the tag restrictions until patching is feasible.
Patch guidance
Discourse provides version-specific patches across four branches to accommodate different upgrade cadences. Determine your current Discourse version and release branch, then upgrade to the corresponding patched version: stable releases should update to 2026.6.0, and earlier branches should move to 2026.5.1, 2026.4.2, or 2026.1.5 respectively. Follow Discourse's standard update procedures to minimize downtime. Test the patch in a staging environment first, particularly if you rely heavily on tag-based category organization or have custom tag-related plugins. No database migrations or manual configuration changes are required post-patch. Verify against the official Discourse security advisory to confirm patch availability and any additional migration guidance for your deployment model.
Detection guidance
Review access logs and API query patterns for repeated requests to /categories and /groups endpoints from unauthenticated or low-privilege users, particularly queries that extract tag metadata. Baseline normal traffic to these endpoints and flag anomalous enumeration patterns. If you maintain detailed category and endpoint access logs, search for anonymous API calls containing tag-related query parameters. Scope internal discussions: review which categories are marked as public while containing restricted tags, and assess whether external users have successfully harvested tag metadata. Post-patch, monitor for continued exploitation attempts targeting the previously exposed endpoints. No specific indicator of compromise (IOC) exists for this information disclosure, but elevated enumeration activity may warrant network segmentation review.
Why prioritize this
Although this vulnerability does not appear in active exploitation or the CISA KEV list, it merits high priority due to its ease of exploitation and potential for reconnaissance leading to secondary attacks. The HIGH CVSS score and network-accessible attack vector demand rapid patching. Organizations exposing public forums, community areas, or open-access categories should patch within 30 days. Enterprises with non-public Discourse instances but containing tag schemes tied to sensitive processes should patch within 60 days. The low complexity and zero authentication requirement make this an attractive target for threat actors performing infrastructure reconnaissance; delaying patches increases exposure window.
Risk score, explained
The 7.5 CVSS score (HIGH severity) reflects a network-accessible, unauthenticated information disclosure with no user interaction required and complete availability of the leaked asset (tag metadata). The vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N correctly captures the attack profile: no authentication (PR:N), low attack complexity (AC:L), high confidentiality impact (C:H), and no integrity or availability impact (I:N/A:N). While the disclosure is limited to metadata rather than user content or credentials, the CVSS assessment appropriately weights the severity because unrestricted metadata enumeration on a remote endpoint represents a concrete, exploitable information leak that an attacker can weaponize without additional privilege escalation.
Frequently asked questions
Are private categories or restricted categories affected by this leak?
No. The vulnerability only affects tags and tag groups attached to publicly readable categories. Private or restricted categories are not susceptible to this enumeration attack because the endpoints exposing the metadata are not accessible to unauthorized users in those contexts.
Does this vulnerability allow attackers to modify or delete tags?
No. This is an information disclosure vulnerability only. Attackers can read and enumerate tag metadata, but they cannot create, modify, or delete tags. The vulnerability does not grant write access or enable any form of content manipulation.
What if we're using Discourse with no public categories?
If all your categories are private or restricted and not accessible to anonymous users, the attack surface is minimal. However, you should still patch as part of routine security maintenance. Verify your category access settings and test the patch in a staging environment to ensure configuration compatibility.
Do we need to reset API keys or audit user activity after patching?
Not specifically due to this vulnerability. The leak is of tag metadata only, not user credentials or API tokens. Post-patch, review which external users may have accessed the exposed metadata and consider whether they should be restricted from future category access or audited for secondary reconnaissance activity.
This analysis is based on vulnerability data available at publication and vendor advisories current as of the date of this report. Patch version numbers and availability should be verified against the official Discourse security advisories and release notes before deployment. Organizations should conduct internal testing and impact assessment before applying patches to production environments. SEC.co makes no warranty regarding the completeness or accuracy of third-party vendor patch information and recommends direct consultation with Discourse documentation for the most current remediation guidance. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-44786HIGHDiscourse Chat Message Disclosure in MessageBus
- CVE-2026-45788HIGHDiscourse Secure Uploads Exposure via pull_hotlinked_images
- CVE-2026-44779MEDIUMDiscourse Bot Debug Endpoints Expose Whisper Translation Logs
- CVE-2026-44780MEDIUMDiscourse Email Information Disclosure via Category Moderation Queue
- CVE-2026-44782MEDIUMDiscourse User Name Exposure via GroupPostSerializer Bypass
- CVE-2026-44784MEDIUMDiscourse SMTP Credential Exposure via Group History Logs
- CVE-2026-44785MEDIUMDiscourse AI Explain Feature Authorization Bypass
- CVE-2026-45085MEDIUMDiscourse Chat Plugin Authorization and Information Disclosure Flaws