{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.1.0-latest"
              },
              {
                "fixed": "2026.1.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "322d3c0ac6a8f133b3f82875e9dbbe310f638c1b"
            },
            {
              "fixed": "808b2ac23d8ff421563b40203091026732471c60"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2026.2.0-latest"
              },
              {
                "fixed": "2026.2.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "f7cec86997edc21d6074ceb7666f7e2e6e1b1fdf"
            },
            {
              "fixed": "f38464e46df1b8c51f7d60826502476908d6bb2b"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "= 2026.3.0-latest"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "896e810e1b296478bba91559a8fc89a9926f11fe"
            }
          ],
          "repo": "https://github.com/discourse/discourse",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6cc8-x3rm-j5pf"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28282.json"
  },
  "details": "Discourse is an open-source discussion platform. Versions prior to 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 have a security flaw in the discourse-policy plugin which allowed a user with policy creation permission to gain membership access to any private/restricted groups. Once membership to a private/restricted group has been obtained, the user will be able to read private topics that only the group has access to. Versions 2026.3.0-latest.1, 2026.2.1, and 2026.1.2 contain a patch. As a workaround, review all policies for the use of `add-users-to-group` and temporarily remove the attribute from the policy. Alternatively, disable the discourse-policy plugin by disabling the `policy_enabled` site setting.",
  "id": "CVE-2026-28282",
  "modified": "2026-04-01T23:08:45.389777510Z",
  "published": "2026-03-19T21:45:13.648Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28282.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/discourse/discourse/security/advisories/GHSA-6cc8-x3rm-j5pf"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28282"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/64e2514ac17046cfaa8bc68a3c5140bc40736add"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/c14b8a4cc5fc94e4839a83c5d55765897589f45b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/discourse/discourse/commit/dcde9de530f515e88f99957056ffbcc2e1e03951"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Discourse vulnerable to group membership addition permission bypass via discourse-policy plugin"
}