CVE-2026-27162
JSON

4.9medium

DIscourse doesn't prevent whispers to leak in excerpts

Severity
4.9medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.48% (higher than 34% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2026-27162GHSA-gffm-43j4-372w

Description

Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, `posts_nearby` was checking topic access but then returning all posts regardless of type, including whispers that should only be visible to whisperers. Use `Post.secured(guardian)` to properly filter post types based on user permissions. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. No known workarounds are available.

Affected

Product or packageVersionsReported by
discourse discourse< 2025.12.2, >= 2026.1.0-latest, < 2026.1.1, >= 2026.2.0-latest, < 2026.2.0, before 2025.12.2, from 2026.1.0 before 2026.1.1, 2026.2.0CVE List, NVD
discourse (Bitnami)before 2025.12.2, from 2026.1.0 before 2026.1.1Bitnami Vulnerability Database

All scores

GitHub_M4.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
NVD4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, `posts_nearby` was checking topic access but then returning all posts regardless of type, including whispers that should only be visible to whisperers. Use `Post.secured(guardian)` to properly filter post types based on user permissions. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. No known workarounds are available.

NVD (es)

Discourse es una plataforma de discusión de código abierto. Antes de las versiones 2025.12.2, 2026.1.1 y 2026.2.0, `posts_nearby` verificaba el acceso al tema pero luego devolvía todas las publicaciones independientemente del tipo, incluyendo whispers que solo deberían ser visibles para whisperers. Use `Post.secured(guardian)` para filtrar correctamente los tipos de publicaciones según los permisos del usuario. Las versiones 2025.12.2, 2026.1.1 y 2026.2.0 parchean el problema. No se conocen soluciones alternativas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27162 changed 2026-03-03CVE Terms of Use
NVDCVE-2026-27162 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-27162 changed 2026-09-08Apache-2.0