CVE-2026-31805: Discourse - Authorization Bypass
- Cve: CVE-2026-31805
- Name: Discourse - Authorization Bypass
- Description: Discourse is an open-source discussion platform. Prior to versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2, an authorization bypass in the poll plugin allowed authenticated users to vote on, remove votes from, or toggle the open/closed status of polls they did not have access to. By passing post_id as an array (e.g. post_id[]=&post_id[]=), the authorization check resolves to the accessible post while the poll lookup resolves to a different post's poll. This affects the vote, remove_vote, and toggle_status endpoints in DiscoursePoll::PollsController. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contain a patch.
- Impact: Authenticated users can manipulate polls they should not access, affecting poll integrity and control.
- Remediation: Update to versions 2026.3.0-latest.1, 2026.2.1, or 2026.1.2 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: broken_access_control
- Requirement type: logged_in
- Requirements: Attacker must be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
- Epss score: 0.00269
- Epss percentile: 0.1906
- Assignee: [email protected]
- Published at: 2026-03-20T03:15:59Z
- Age in days: 249
- Modified at: 2026-06-17T10:34:29Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31805
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Hackerone
- Reports: 1
- Rank: 5211
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| discourse:discourse | = 2026.3.0; >= 2026.2.0, < 2026.2.1; >= 2026.1.0, < 2026.1.2 | no | nvd | /v1/products/discourse/discourse |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| discourse/discourse | commit, fix, security_advisory | yes | /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, nuclei template, initial access since