SecurityContext

CVE-2026-26265: Discourse - Broken Access Control

  • Cve: CVE-2026-26265
  • Name: Discourse - Broken Access Control
  • 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.
  • Impact: Any user, including anonymous, can bulk exfiltrate private user data such as phone numbers and addresses.
  • Remediation: Update to versions 2025.12.2, 2026.1.1, or 2026.2.0 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01254
  • Epss percentile: 0.70082
  • Assignee: [email protected]
  • Published at: 2026-02-26T16:24:07Z
  • Age in days: 271
  • Modified at: 2026-06-17T10:26:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-26265
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-863Incorrect Authorization
CWE-639Authorization Bypass Through User-Controlled Key

Nuclei templates

IdUrl
CVE-2026-26265https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-26265.yaml

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/discourse/discourse/security/advisories/GHSA-crxf-p6jm-vpgwnvdVendor Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-26265.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
discourse:discourse= 2026.2.0; >= 2026.1.0, < 2026.1.1; < 2025.12.0nonvd/v1/products/discourse/discourse

Projects

RepositoryLink kindsIndexedUrl
discourse/discoursesecurity_advisoryyes/v1/repositories/discourse/discourse

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 22639
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since

Nuclei template