Read the docs
TI-2026-28828 Aliases CVE-2026-39972GHSA-hwr4-mq23-wcv5

Mercure has a Topic Selector Cache Key Collision

Priority LOW 31CWE-1289Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00324 25th percentileScored 2026-11-07
Fix Fixed mercure (dunglas): 0.22.0github.com/dunglas/mercure (Go): 0.22.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dunglasmercurebefore 0.22.00.22.0Patch availableCNA
—github.com/dunglas/mercure (Go)before 0.22.00.22.0Patch availableGHSA-hwr4-mq23-wcv5
  • mercure Vendordunglas Affected before 0.22.0 Fixed in 0.22.0 Patch available CNA
  • github.com/dunglas/mercure (Go) Vendor— Affected before 0.22.0 Fixed in 0.22.0 Patch available GHSA-hwr4-mq23-wcv5

Remediation

  • Fix · CNA mercure (dunglas) Fixed in 0.22.0
  • Fix · GHSA-hwr4-mq23-wcv5 github.com/dunglas/mercure (Go) Fixed in 0.22.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-39972
  2. 2026-10-03 Alias added: GHSA-hwr4-mq23-wcv5

References

Sources