BreachSpiderVerified, not vibes

CVE-2026-26265 in Discourse

High 7.5

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 `DirectoryIte...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.7%
EPSS percentile78th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Discourse Discourse 2026.2.0 < 2025.12.0 ≥ 2026.1.0, < 2026.1.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-26265
BreachSpider IDBS-2026-GLOBAL-075078-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2026-02-26
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)

Software uses a user-supplied key to access resources without verifying authorization for that specific resource.

CWE-863: Incorrect Authorization

Software performs an authorization check incorrectly, allowing access beyond intended privileges.

Analysis AI-written, not human-reviewed

Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an IDOR vulnerability in the directory items endpoint, allowing unauthorized access to private user field values.

The vulnerability exists in the `DirectoryItemsController#index` method, where the `user_field_ids` parameter is not properly validated or authorized, enabling any user, including anonymous ones, to retrieve sensitive information about other users.

Questions

What is CVE-2026-26265?

Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0 contain an IDOR vulnerability in the directory items endpoint, allowing unauthorized access to private user field values.

What is the CVSS score for CVE-2026-26265?

CVE-2026-26265 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.7%.

Is CVE-2026-26265 actively exploited?

No confirmed active exploitation of CVE-2026-26265 as of 2026-09-25.

How do I remediate CVE-2026-26265?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-26265?

CVE-2026-26265 affects Discourse Discourse.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Discourse","product":"Discourse","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.