Cache Key Collision Vulnerability in Mercure Protocol by Dunglas
CVE-2026-39972
7.1HIGH
What is CVE-2026-39972?
A cache key collision vulnerability in the Mercure protocol's TopicSelectorStore allows attackers to manipulate the match result cache. This could lead to unauthorized delivery of private updates or disrupt authorized deliveries. The vulnerability arises from the construction of cache keys using underscores in both topic selectors and topics, allowing distinct combinations to yield the same key. Exploitation can occur if an attacker subscribes to the hub or publishes updates with specially crafted topic names, bypassing authorization checks on sensitive updates. The issue has been addressed in version 0.22.0.
Affected Version(s)
mercure < 0.22.0
