{
  "id": "CVE-2026-31805",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31805",
  "published_at": "2026-03-20T03:07:14.755Z",
  "title": "Discourse has a poll authorization bypass via post_id array parameter",
  "vendor": "discourse",
  "product": "discourse",
  "cvss": {
    "score": 8.2,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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[]=\u0026post_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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:discourse:discourse:2026.3.0:*:*:*:latest:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.3,
    "nvd": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "discourse",
        "product": "discourse",
        "ranges": [
          "\u003e= 2026.1.0-latest, \u003c 2026.1.2",
          "\u003e= 2026.2.0-latest, \u003c 2026.2.1",
          "= 2026.3.0-latest.1"
        ],
        "fixed_in": [
          "2026.1.2",
          "2026.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade discourse to 2026.1.2 or 2026.2.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-fgxm-prjv-g823"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/discourse/discourse/commit/1a6b3cdd8939053f485a60a6ea004a40878392c4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
