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.
Problem types
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Product status
>= 2026.1.0-latest, < 2026.1.1
>= 2026.2.0-latest, < 2026.2.0
References
github.com/...course/security/advisories/GHSA-gffm-43j4-372w