CVE-2026-28218: Discourse's Fail-Open Access Control in Data Explorer Plugin Allows Unauthorized SQL Query Execution

Published Feb 26, 2026
·
Updated

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.

Affected Software

6 affected components
npm/discourse<2025.12.2
npm/discourse<2026.1.1
npm/discourse<2026.2.0
Discourse Discourse<2025.12.2
Discourse Discourse>=2026.1.0<2026.1.1
Discourse Discourse=2026.2.0

Event History

Feb 26, 2026
CVE Published
via MITRE·09:23 PM
Data Sourced
via MITRE·09:23 PM
DescriptionWeakness
Data Sourced
via NVD·10:20 PM
DescriptionSeverityWeaknessAffected Software
Jun 28, 58142
Event
via FIRST·03:40 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-28218?

CVE-2026-28218 is classified as a high severity vulnerability due to its potential to allow unauthorized SQL query execution.

2

How do I fix CVE-2026-28218?

To fix CVE-2026-28218, upgrade to Discourse version 2025.12.2, 2026.1.1, or 2026.2.0 to mitigate the vulnerability.

3

What does CVE-2026-28218 exploit?

CVE-2026-28218 exploits a fail-open access control vulnerability in the Data Explorer plugin of Discourse.

4

What impact does CVE-2026-28218 have on my Discourse installation?

CVE-2026-28218 allows any authenticated user to execute arbitrary SQL queries, potentially compromising database integrity.

5

Which versions of Discourse are affected by CVE-2026-28218?

CVE-2026-28218 affects Discourse versions prior to 2025.12.2, 2026.1.1, and 2026.2.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203