Auth bypass in Discourse

CVE-2026-27153

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.

Vulnerability class: Broken Access Control

Published · last modified .

CVSS v3 metric

CVSS v3 base score 2.7 (Low). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N.

EPSS exploit prediction

EPSS 0.002, 7.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Discourse — versions >= 2026.2.0-latest, < 2026.2.0, >= 2026.1.0-latest, < 2026.1.1, 2026.2.0

Weakness classification (CWE)

References