The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-26265

CVE-2026-26265: Discourse IDOR Information Disclosure Flaw

CVE-2026-26265 is an IDOR information disclosure vulnerability in Discourse that allows unauthorized access to private user field data. This article covers technical details, affected versions, impact, and mitigation steps.

Published: February 27, 2026

CVE-2026-26265 Overview

CVE-2026-26265 is an Insecure Direct Object Reference (IDOR) vulnerability in Discourse, an open source discussion platform. The vulnerability exists in the directory items endpoint (DirectoryItemsController#index), which allows any user—including anonymous users—to retrieve private user field values for all users in the directory. This authorization bypass enables bulk exfiltration of sensitive user data that administrators have explicitly configured as non-public.

Critical Impact

Attackers can exfiltrate private user data such as phone numbers, addresses, and other sensitive custom fields from all users in the directory without authentication.

Affected Products

  • Discourse versions prior to 2025.12.2
  • Discourse versions prior to 2026.1.1
  • Discourse versions prior to 2026.2.0

Discovery Timeline

  • 2026-02-26 - CVE-2026-26265 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-26265

Vulnerability Analysis

This vulnerability stems from improper authorization (CWE-863) in the Discourse directory items API endpoint. The user_field_ids parameter in DirectoryItemsController#index accepts arbitrary user field IDs without performing authorization checks. This bypasses the visibility restrictions (show_on_profile / show_on_user_card) that are properly enforced elsewhere in the application, such as in UserCardSerializer via Guardian#allowed_user_field_ids.

The flaw allows unauthenticated attackers to make simple GET requests to the /directory_items.json endpoint with any private field ID and receive that field's value for every user listed in the directory response. This represents a significant data exposure risk as it enables bulk collection of sensitive personal information that site administrators had intentionally restricted from public view.

Root Cause

The root cause is a missing authorization check in the DirectoryItemsController#index action. While other parts of the Discourse application properly filter user field access based on the show_on_profile and show_on_user_card visibility settings through the Guardian#allowed_user_field_ids method, the directory items endpoint fails to apply this same filtering. The endpoint directly accepts and processes any user_field_ids parameter values provided in the request without validating whether the requesting user has permission to view those fields.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending a crafted GET request to the directory items endpoint with private user field IDs. The attack flow is straightforward:

  1. The attacker identifies or enumerates private user field IDs configured on the Discourse instance
  2. The attacker sends a GET request to /directory_items.json?period=all&user_field_ids=<id> where <id> is a private field ID
  3. The server returns directory data including the private field values for all users
  4. The attacker can repeat this process for multiple field IDs to exfiltrate all private user data

This vulnerability requires no special privileges or complex exploitation techniques—simple HTTP requests are sufficient to extract sensitive information. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-26265

Indicators of Compromise

  • Unusual volume of requests to /directory_items.json endpoint from single IP addresses or user sessions
  • Requests to the directory endpoint containing user_field_ids parameters with multiple or sequential field IDs
  • Anonymous or low-privilege user sessions making repeated directory API calls
  • Web server logs showing enumeration patterns against the directory items endpoint

Detection Strategies

  • Implement web application firewall (WAF) rules to flag requests to /directory_items.json with suspicious user_field_ids parameters
  • Monitor access logs for patterns indicating bulk data extraction attempts against the directory endpoint
  • Deploy anomaly detection to identify users or sessions making excessive API calls to directory-related endpoints
  • Review audit logs for unauthorized access patterns to user profile data

Monitoring Recommendations

  • Enable detailed request logging for all directory and user-related API endpoints
  • Set up alerts for high-frequency requests to /directory_items.json from unauthenticated sources
  • Monitor for sequential or enumerated access patterns in the user_field_ids parameter
  • Conduct periodic reviews of access logs focusing on directory endpoint usage patterns

How to Mitigate CVE-2026-26265

Immediate Actions Required

  • Upgrade Discourse to version 2025.12.2, 2026.1.1, or 2026.2.0 immediately
  • Review access logs for evidence of prior exploitation attempts against the directory items endpoint
  • Audit private user fields for any sensitive data that may have been exposed
  • Notify affected users if evidence of data exfiltration is discovered

Patch Information

The vulnerability has been patched in Discourse versions 2025.12.2, 2026.1.1, and 2026.2.0. The fix implements proper filtering of the user_field_ids parameter against UserField.public_fields for non-staff users before building the custom field map. This ensures that private fields configured with show_on_profile or show_on_user_card set to false are no longer accessible through the directory items endpoint.

For complete details on the security patch, refer to the GitHub Security Advisory.

Workarounds

  • Disable the user directory feature entirely via the enable_user_directory site setting if upgrading is not immediately possible
  • Remove sensitive data from private user fields temporarily until the patch can be applied
  • Implement network-level access controls to restrict access to the /directory_items.json endpoint
  • Deploy WAF rules to block requests containing user_field_ids parameters from unauthenticated users

If immediate patching is not feasible, administrators should disable the user directory feature:

bash
# Access Discourse admin panel and disable user directory
# Navigate to: Admin > Settings > Users
# Set enable_user_directory to false

# Alternatively, use the Rails console:
# cd /var/discourse
# ./launcher enter app
# rails c
# SiteSetting.enable_user_directory = false

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechDiscourse

  • SeverityHIGH

  • CVSS Score7.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34947: Discourse Information Disclosure Flaw

  • CVE-2026-32143: Discourse Information Disclosure Flaw

  • CVE-2026-32620: Discourse Information Disclosure Flaw

  • CVE-2026-32951: Discourse Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English