CVE-2026-39972
published high CVSS 4.0 · 7.1Mercure has a Topic Selector Cache Key Collision
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dunglas | — | mercure< 0.22.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dunglas | mercure | < 0.22.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1289 CWE-1289: Improper Validation of Unsafe Equivalence in Input
References
2Provider assertions
2GitHub_M · cna
Mercure has a Topic Selector Cache Key Collision
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 79b75f6f07933a1985cbfcd9715205f4feb2d751b96c907ec2063f092f17ffc1
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record