CVE-2026-39972CWE-1289

Mercure has a Topic Selector Cache Key Collision

High · published April 9, 2026

CVSS v4.0
7.1
EPSS
0%
Percentile
35.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
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
EPSS
0.00422 · 35.4th percentile
Weakness
CWE-1289 · Improper Validation of Unsafe Equivalence in Input
Published
2026-04-09T16:42Z
EPSS history
Timeline
  • 09 APR 16:42Z
    Mercure has a Topic Selector Cache Key Collision
    cvelistv5