Skip to main content
← All vulnerabilities
CVE-2026-39972GHSA-HWR4-MQ23-WCV5GO-2026-5444

Mercure has a Topic Selector Cache Key Collision

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.22.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Mercure is a protocol for pushing data updates to web browsers and other HTTP clients in a battery-efficient way. Prior to 0.22.0, a cache key collision vulnerability in TopicSelectorStore allows an attacker to poison the match result cache, potentially causing private updates to be delivered to unauthorized subscribers or blocking delivery to authorized ones. The cache key was constructed by concatenating the topic selector and topic with an underscore separator. Because both topic selectors and topics can contain underscores, two distinct pairs can produce the same key. An attacker who can subscribe to the hub or publish updates with crafted topic names can exploit this to bypass authorization checks on private updates. This vulnerability is fixed in 0.22.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • dunglas mercure

    fixed in 0.22.0

  • github.com/dunglas/mercureGo

    fixed in 0.22.0

References 2

GitHub · dunglas/mercure