Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, fail-open access control in Data Explorer plugin allows any authenticated user to execute SQL queries that have no explicit group assignments, including built-in system queries. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. As a workaround, either explicitly set group permissions on each Data Explorer query that doesn't have permissions, or disable discourse-data-explorer plugin.
{
"cwe_ids": [
"CWE-284"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28218.json",
"cna_assigner": "GitHub_M"
}{
"cpe": [
"cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
"cpe:2.3:a:discourse:discourse:2026.2.0:*:*:*:latest:*:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2025.12.2"
},
{
"introduced": "2026.1.0"
},
{
"fixed": "2026.1.1"
},
{
"introduced": "2026.2.0"
},
{
"last_affected": "2026.2.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}