CVE-2026-72722

Discourse: Duplicate lookup reveals restricted topic titles through canonicalized URLs

State
Published
Severity
4.3 Medium
Published
Aug 10, 2026
Updated
Aug 13, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

Description

Discourse is an open-source discussion platform. Prior to 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0, TopicLink.extract_from, TopicLink.ensure_entry_for, and TopicLink.duplicate_lookup do not consistently enforce Guardian.can_see? checks when processing internal links. An authenticated user can submit links to restricted topics, private messages, or hidden posts and receive canonicalized slugs or titles in the composer_messages duplicate_lookup response even though the targets are not visible to that user. This issue is fixed in versions 2026.1.6, 2026.5.2, 2026.6.1, and 2026.7.0.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

Affected Products

ProductVersions
discoursediscourse
  • < 2026.1.6Affected
  • >= 2026.5.0-latest, < 2026.5.2Affected
  • >= 2026.6.0-latest, < 2026.6.1Affected
  • >= 2026.7.0-latest, < 2026.7.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.