Skip to content
Connect AISign inSign up free
CVE-2026-262657.5HighCWE-863

CVE-2026-26265: Discourse has IDOR vulnerability in the directory items endpoint

discourse

Affected: discourse · Exploitation: check available, not yet exploited

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.3%probability of exploitation in the next 30 days
70th percentile
050100

Higher than 70% of scored CVEs

7.5HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • discourse · discourse< 2025.12.2; >= 2026.1.0-latest, < 2026.1.1; >= 2026.2.0-latest, < 2026.2.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
CISA KEV
Not listed
Public check
Discourse - Private User Field Disclosure via Directory Items IDOR · nuclei template in projectdiscovery/nuclei-templates
Vendor
discourse
Published
February 2026

CoverageNo articles yet

No CyberSIXT article names CVE-2026-26265 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References