Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31805

published medium CVSS 3.1 · 5.3

Discourse has a poll authorization bypass via post_id array parameter

Published
20 Mar 2026, 03:07:14 UTC
Updated
20 Mar 2026, 15:46:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
discourse — discourse>= 2026.1.0-latest, < 2026.1.2 · >= 2026.2.0-latest, < 2026.2.1 · = 2026.3.0-latest.1 Affected Not stated 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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
discourse discourse >= 2026.1.0-latest, < 2026.1.2 (affected)>= 2026.2.0-latest, < 2026.2.1 (affected)= 2026.3.0-latest.1 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-863 CWE-863: Incorrect Authorization (GitHub_M · cna)
  • CWE-20 CWE-20: Improper Input Validation (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Discourse has a poll authorization bypass via post_id array parameter

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
3aaedae6e660cbaee15b0caa687704a40833fdba32dec4bff7a3b7c33f8c94dd
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected