Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-31805

CVE-2026-31805: Discourse Auth Bypass Vulnerability

CVE-2026-31805 is an authorization bypass flaw in Discourse's poll plugin that allows authenticated users to manipulate polls without proper access. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-31805 Overview

CVE-2026-31805 is an authorization bypass vulnerability in the Discourse open-source discussion platform. The vulnerability exists in the poll plugin and allows authenticated users to manipulate polls they should not have access to. By exploiting improper input validation in the post_id parameter, attackers can vote on, remove votes from, or toggle the open/closed status of polls in restricted posts.

Critical Impact

Authenticated users can bypass authorization controls to manipulate polls in posts they cannot access, potentially compromising the integrity of voting results and community decisions.

Affected Products

  • Discourse versions prior to 2026.3.0-latest.1
  • Discourse versions prior to 2026.2.1
  • Discourse versions prior to 2026.1.2

Discovery Timeline

  • 2026-03-20 - CVE-2026-31805 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-31805

Vulnerability Analysis

This authorization bypass vulnerability stems from an improper input validation weakness (CWE-20) in the Discourse poll plugin. The vulnerability allows authenticated users to circumvent access controls by exploiting a discrepancy in how the application handles array-based parameter manipulation. When a user submits the post_id parameter as an array (e.g., post_id[]=&post_id[]=), two different resolution paths are triggered: the authorization check resolves to one post while the poll lookup resolves to an entirely different post's poll. This allows attackers to interact with polls in posts they should not be able to access.

Root Cause

The root cause is improper input validation in the DiscoursePoll::PollsController. The controller does not properly validate the type and format of the post_id parameter before processing it. When the parameter is passed as an array, the authorization check and the poll lookup resolve to different posts, creating an authorization bypass condition. This affects the vote, remove_vote, and toggle_status endpoints within the controller.

Attack Vector

The attack requires network access and an authenticated session on the Discourse platform. An attacker can craft HTTP requests to the vulnerable poll endpoints with a specially formatted post_id parameter containing an array structure. By manipulating this parameter, the attacker can target polls in posts they cannot normally view or interact with. The attack requires no user interaction and can be automated to manipulate multiple polls across the platform.

The vulnerability mechanism involves passing malformed array parameters to bypass authorization checks. By submitting requests with post_id[]=&post_id[]= patterns, the authorization logic evaluates against one post while poll operations execute against another. For detailed technical analysis, refer to the GitHub Security Advisory GHSA-fgxm-prjv-g823.

Detection Methods for CVE-2026-31805

Indicators of Compromise

  • Unusual patterns in HTTP request logs showing post_id[] array-based parameter submissions to poll endpoints
  • Unexpected poll vote modifications on restricted or private category posts
  • Authentication logs showing users interacting with polls in posts they have no access permissions for
  • Anomalous activity on the vote, remove_vote, and toggle_status endpoints in DiscoursePoll::PollsController

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block array-based parameter manipulation attempts targeting poll endpoints
  • Monitor application logs for requests containing post_id[]= patterns in poll-related API calls
  • Review Discourse audit logs for poll state changes or vote modifications that don't correlate with legitimate user access patterns
  • Configure intrusion detection systems to alert on unusual POST request patterns to /polls/ endpoints

Monitoring Recommendations

  • Enable detailed request logging on the Discourse application to capture full parameter data
  • Set up alerting for failed authorization checks that precede successful poll operations
  • Monitor for bulk or automated requests to poll manipulation endpoints
  • Review community reports of unexpected poll behavior or results

How to Mitigate CVE-2026-31805

Immediate Actions Required

  • Upgrade Discourse to version 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later immediately
  • Review poll audit logs for signs of unauthorized manipulation prior to patching
  • Consider temporarily disabling the poll plugin if immediate upgrade is not possible
  • Audit any critical polls conducted during the vulnerable period for integrity

Patch Information

Discourse has released patches addressing this vulnerability in versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2. The fix ensures proper input validation of the post_id parameter to prevent array-based parameter manipulation. The patch commit is available at the GitHub Commit Update. Organizations should apply the appropriate patch based on their current Discourse branch.

Workarounds

  • Temporarily disable the poll plugin via the Discourse admin panel until patching is complete
  • Implement WAF rules to reject requests with array-formatted post_id parameters to poll endpoints
  • Restrict poll creation and voting to trusted user groups as an interim measure
  • Enable additional logging and monitoring on poll-related endpoints to detect exploitation attempts

Administrators can disable the poll plugin by navigating to the Discourse admin settings and locating the poll plugin configuration. Disabling this feature will prevent exploitation but will also remove polling functionality from the platform until patching is complete.

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDiscourse

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-fgxm-prjv-g823
  • Related CVEs
  • CVE-2026-27481: Discourse Auth Bypass Vulnerability

  • CVE-2026-32619: Discourse Auth Bypass Vulnerability

  • CVE-2026-33300: Discourse Auth Bypass Vulnerability

  • CVE-2026-33074: Discourse Auth Bypass Vulnerability
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