CVE-2026-39972: high-severity vulnerability in dunglas mercure
Mercure has a Topic Selector Cache Key Collision
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Mercure has a flaw in how it stores cached access decisions for private updates. An attacker can craft topic names that create the same cache entry as another topic, tricking the system into delivering private messages to unauthorized users or blocking legitimate ones.
A cache key collision in TopicSelectorStore occurs because topic selectors and topics are concatenated with underscore separators, allowing distinct pairs to produce identical keys. An authenticated attacker who can subscribe or publish can exploit this to poison the cache and bypass authorization checks on private updates, affecting confidentiality and availability.