CVE-2026-26265
HighCVSS 7.5Exploitation Probability (EPSS)
Elevated risk71th percentile - higher than 71% of all known CVEs
Summary
Discourse before versions 2025.12.2, 2026.1.1, and 2026.2.0 contains an IDOR vulnerability in the directory items endpoint. It allows any user, including anonymous users, to retrieve private user field values for all users in the directory.
Risk Assessment
This enables bulk exfiltration of private user data such as phone numbers, addresses, or other sensitive custom fields.
Recommendation
Update Discourse to version 2025.12.2, 2026.1.1, or 2026.2.0. As a workaround, remove sensitive data from private user fields or disable the user directory.
Other vulnerabilities in Discourse
See all- CVE-2026-55674Critical
Prior to versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0 in Discourse, an unauthenticated attacker could send a single request with a crafted color_scheme_id (or dark_scheme_id) cookie to inject arbitrary HTML into a Discourse page. Because the cookie value was rendered into a color scheme tag without escaping, the attacker could break out of the attribute and inject a tag that bypassed Discourse's nonce-based Content Security Policy, resulting in arbitrary JavaScript execution in visitors' browsers.
- CVE-2025-53102Critical
Discourse is an open-source community discussion platform. Prior to version 3.4.7 on the stable branch and 3.5.0.beta.8 on the tests-passed branch, upon issuing a physical security key for 2FA, the server generates a WebAuthn challenge which the client signs. The challenge is not cleared from the user's session after authentication, potentially allowing reuse and increasing security risk. Fixed in versions 3.4.7 and 3.5.0.beta.8.
- CVE-2025-48877Critical
In Discourse prior to 3.4.4 (stable), 3.5.0.beta5 (beta), and 3.5.0.beta6-dev (tests-passed), Codepen is present in the default allowed_iframes site setting and can potentially auto-run arbitrary JS in the iframe scope, which is unintended.
- CVE-2026-144512Low
A flaw was found in Discourse up to 2026.9.0 in the TopicConverter#convert_to_private_message function of app/models/topic_converter.rb, related to page publishing. Manipulation of this function causes improper access controls. The attack may be initiated remotely and the exploit has been published and may be used.
- CVE-2026-144511Low
A vulnerability was detected in Discourse up to 2026.12.0 in the Create function of app/controllers/reviewable_claimed_topics_controller.rb. Manipulation of the automatic argument results in improper access controls. The attack can be launched remotely and the exploit is now public and may be used.
- CVE-2026-144510High
A vulnerability was detected in Discourse up to 2026.10.1 in the UserCreator.assign_signup_fields function of lib/user_creator.rb, which handles custom user fields during signup. Manipulation of the user_fields argument leads to dynamically-determined object attributes. The attack can be initiated remotely and a public exploit is available.
- CVE-2017-20290Medium
Discourse 1.9.0.beta2 before 1.9.0.beta13 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject scripts through the email parameter of /email/unsubscribed. Attackers can craft GET requests with SVG onload payloads, which unsubscribed.html.erb renders unescaped via html_safe, executing JavaScript in victims' browsers.
- CVE-2026-91159High
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, oEmbed processing treated an entire attacker-controlled HTML fragment as trusted when the fragment contained an iframe whose source matched the configured allowlist. A user with posting permission who controlled a public webpage and its oEmbed response could combine an allowlisted iframe with unrelated sibling HTML or CSS, causing stored visual overlays or other styled content to appear in post content and enabling misleading or fraudulent user interfaces. Exploitation requires a posting account, control of the fetched webpage and oEmbed response, and an allowlisted iframe source. The issue affects content integrity but does not expose restricted data, disrupt availability, or require interaction with Discourse Content Security Policy. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
- CVE-2026-91157High
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.
- CVE-2026-91156High
Discourse is an open-source discussion platform. Prior to 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9, MessageBus audience calculation could deliver messages from a read-restricted category chat channel to an authenticated user who could view the category but was not allowed to use Chat under the site's group restrictions. The publication path bounded events by category visibility without also enforcing Chat eligibility, exposing live and recent message content available in the MessageBus backlog. The issue does not permit retrieval of the channel's full history through the Chat API and does not permit message creation or modification. This issue is fixed in versions 2026.9.0, 2026.8.1, 2026.7.3, and 2026.1.9.
Original NVD description (English source)
Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, an IDOR vulnerability in the directory items endpoint allows any user, including anonymous users, to retrieve private user field values for all users in the directory. The `user_field_ids` parameter in `DirectoryItemsController#index` accepts arbitrary user field IDs without authorization checks, bypassing the visibility restrictions (`show_on_profile` / `show_on_user_card`) that are enforced elsewhere (e.g., `UserCardSerializer` via `Guardian#allowed_user_field_ids`). An attacker can request `GET /directory_items.json?period=all&user_field_ids=<id>` with any private field ID and receive that field's value for every user in the directory response. This enables bulk exfiltration of private user data such as phone numbers, addresses, or other sensitive custom fields that admins have explicitly configured as non-public. The issue is patched in versions 2025.12.2, 2026.1.1, and 2026.2.0 by filtering `user_field_ids` against `UserField.public_fields` for non-staff users before building the custom field map. As a workaround, site administrators can remove sensitive data from private user fields, or disable the user directory via the `enable_user_directory` site setting.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

