CVE-2026-26265
Last modified
CVE-2026-26265 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse | < 2025.12.0 |
| Discourse | Discourse | >= 2026.1.0, < 2026.1.1 |
| Discourse | Discourse | 2026.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-26265?
How severe is CVE-2026-26265?
How do I fix CVE-2026-26265?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-26255Rejected reason: Not used
- CVE-2026-26256Rejected reason: Not used
- CVE-2026-26257Rejected reason: Not used
- CVE-2026-2626The divi-booster WordPress plugin before 5.0.2 does not have…8.1
- CVE-2026-26263GLPI is a free asset and IT management software package. Fro…9.8
- CVE-2026-26264BACnet Stack is a BACnet open source protocol stack C librar…8.1
- CVE-2026-26266AliasVault is a privacy-first password manager with built-in…6.1
- CVE-2026-26267soroban-sdk is a Rust SDK for Soroban contracts. Prior to ve…7.5
- CVE-2026-26268Cursor is a code editor built for programming with AI. Sandb…9.9
- CVE-2026-26269Vim is an open source, command line text editor. Prior to 9.…7.5
- CVE-2026-2627A security flaw has been discovered in Softland FBackup up t…7.8
- CVE-2026-26270InvoicePlane is a self-hosted open source application for ma…5.4
Are you affected by CVE-2026-26265?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
