Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Misconfiguration·Updated Nov 8, 2026

CVE-2026-26265 Scanner

CVE-2026-26265 Scanner - Information Disclosure vulnerability in Discourse

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
9
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
7.5
CVSShigh
Exploitable remotely over the internet · no authentication required.
Description

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
discourseby discourse
< 2025.12.2
Updated Nov 6, 2026View on NVD →
Detail

Discourse is a modern forum software often used to facilitate discussions and community interaction within large groups over the internet. It is popular among developers, educators, and communities for its open-source flexibility and advanced customization options. The software is utilized in managing online forums, supporting Q&A feature integrations, and providing a platform for organizational collaboration. Discourse attracts users by incorporating robust administration options and a rich set of features for seamless online interactions. Its ability to integrate with various systems makes it a preferred choice for handling community-driven content and discussions. Many enterprises and small businesses use Discourse to engage and grow their online community efficiently.

This Information Disclosure vulnerability in Discourse arises due to insufficient authorization checks within the DirectoryItemsController component of the software. By exploiting this vulnerability, any user, including those who remain anonymous, can potentially access and extract private user information. The compromise occurs specifically because the software fails to adequately secure the 'user_field_ids' parameter, thereby allowing unauthorized data retrieval. This vulnerability predominantly exists in versions of Discourse prior to 2025.12.2, 2026.1.1, and 2026.2.0. It is an exploitable gap that allows attackers to gather sensitive data without any authentication, posing a significant security risk to affected systems. This flaw in handling authorization exposes vulnerable instances to exploitation by malicious actors.

The vulnerability occurs at the endpoint managed by the DirectoryItemsController#index function, where there is a lack of authorization checks for the 'user_field_ids' parameter. The susceptibility allows attackers to craft queries that could exfiltrate private data assigned to user fields considered confidential. Attackers usually craft HTTP requests targeting the vulnerable Discourse endpoints, resulting in responses that contain sensitive information due to improper access controls. The regular expression, coupled with API response checks embedded in server logic, confirms access success. Administrators may identify an exploit by monitoring abnormal HTTP request patterns, particularly those targeting the directory items' JSON endpoints. These vulnerabilities typically surface in improperly hardened application frameworks with lax security configurations.

If exploited, this vulnerability allows malicious individuals to gather and extract sensitive private user information, such as phone numbers and addresses, from the affected Discourse instances. The availability of this data to unauthorized individuals poses significant privacy and security threats to the users of a compromised system. Such breaches may lead to further exploitation including identity theft, targeted phishing attacks, and unauthorized surveillance. The revealed information could also be leveraged to compromise other connected systems by recovering sensitive fields used in authentication or account recovery processes. Given the extent of exposure, organizations affected by this vulnerability may face substantial reputational and operational risks, necessitating adequate remediation actions.

REFERENCES

Solution Advice
  • Update Discourse to versions 2025.12.2, 2026.1.1, or 2026.2.0 or later to patch the security vulnerability.
  • Implement logging and monitoring solutions to detect unauthorized access patterns.
  • Review access controls to ensure that sensitive data is protected by proper authorization mechanisms.
  • Communicate with users about potential data risks and offer guidance on personal information safety.
  • Evaluate and strengthen overall software configuration settings to reduce exposure.

 

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.