Description
Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, moderators could export user Chat DMs via the CSV export endpoint by exploiting an overly permissive allowlist in `can_export_entity?`. The method allowed moderators to export any entity not explicitly blocked instead of restricting to an explicit allowlist. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. No known workarounds are available.
Published: 2026-02-26
Score: 1.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Data Exposure
Action: Patch
AI Analysis

Impact

Discourse, an open-source discussion platform, had a flaw that allowed users with moderator privileges to export other users’ private chat messages as CSV files. The defect stemmed from an overly permissive allowlist in the `can_export_entity?` method; rather than restricting export to only explicitly allowed entities, the logic permitted any entity that was not explicitly blocked. As a result, moderators could retrieve sensitive private conversations, violating confidentiality and exposing potentially personal data.

Affected Systems

The vulnerability affected all Discourse installations running versions earlier than 2025.12.2, 2026.1.1, or 2026.2.0. These include binaries and source releases that match the Discourse CPE names identified in the advisory. Patch versions 2025.12.2, 2026.1.1, and 2026.2.0 include the fix.

Risk and Exploitability

The CVSS score of 1.3 reflects the low severity, and an EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The issue does not appear in the CISA KEV catalog. Exploitability requires legitimate moderator access to the site; one would use the CSV export endpoint after authenticating as a moderator or higher role. No external attack vector or additional prerequisites are documented, so the risk is confined to sites where moderators have trusted roles.

Generated by OpenCVE AI on April 17, 2026 at 14:15 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Discourse installation to at least version 2025.12.2 or later, 2026.1.1 or 2026.2.0, which contain the fix.
  • Implement least‑privilege discipline for moderator accounts, ensuring that only users who require export capabilities retain moderator status; consider disabling the CSV export endpoint if it is not needed.
  • Keep the application and all dependencies up to date to benefit from broader security improvements, and review any custom plugins that might interact with the export functionality for additional risk.

Generated by OpenCVE AI on April 17, 2026 at 14:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Mar 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 02 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
cpe:2.3:a:discourse:discourse:2026.2.0:*:*:*:latest:*:*:*
Metrics cvssV3_1

{'score': 2.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N'}


Fri, 27 Feb 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Discourse
Discourse discourse
Vendors & Products Discourse
Discourse discourse

Thu, 26 Feb 2026 21:45:00 +0000

Type Values Removed Values Added
Description Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, moderators could export user Chat DMs via the CSV export endpoint by exploiting an overly permissive allowlist in `can_export_entity?`. The method allowed moderators to export any entity not explicitly blocked instead of restricting to an explicit allowlist. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. No known workarounds are available.
Title Discourse doesn't prevent moderators from exporting user Chat DMs
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 1.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U'}


Subscriptions

Discourse Discourse
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-02T20:56:14.103Z

Reserved: 2026-02-18T00:18:53.962Z

Link: CVE-2026-27153

cve-icon Vulnrichment

Updated: 2026-03-02T20:56:09.991Z

cve-icon NVD

Status : Analyzed

Published: 2026-02-26T22:20:47.570

Modified: 2026-03-02T18:07:51.840

Link: CVE-2026-27153

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T14:30:20Z

Weaknesses