# CVE-2026-31805: Discourse has a poll authorization bypass via post_id array parameter

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2026-03-20T03:07:14.755Z
- Modified: 2026-09-08T08:46:30.202Z
- Also known as: BIT-DISCOURSE-2026-31805, GHSA-fgxm-prjv-g823
- Weaknesses: CWE-20, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- discourse discourse: >= 2026.1.0-latest, < 2026.1.2; >= 2026.2.0-latest, < 2026.2.1; = 2026.3.0-latest.1; from 2026.1.0 before 2026.1.2; from 2026.2.0 before 2026.2.1; 2026.3.0
- discourse (Bitnami): from 2026.1.0 before 2026.1.2; from 2026.2.0 before 2026.2.1; from 2026.3.0 before 2026.3.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-fgxm-prjv-g823> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/commit/1a6b3cdd8939053f485a60a6ea004a40878392c4> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31805> (web)

## Sources

- CVE List: [CVE-2026-31805](https://www.cve.org/CVERecord?id=CVE-2026-31805), CVE Terms of Use, modified 2026-03-20
- NVD: [CVE-2026-31805](https://nvd.nist.gov/vuln/detail/CVE-2026-31805), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-31805](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-31805), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-31805 · Whole record: https://cve.day/CVE-2026-31805.json · Rebuilt by cve.day 2026-11-25T22:59:16.262Z
