{"id":"CVE-2026-39972","published":"2026-04-09T16:42:22Z","modified":"2026-04-09T18:59:49Z","title":"Mercure has a Topic Selector Cache Key Collision","vendor":"dunglas","product":"mercure","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00438,"percentile":0.29957,"provenance":"source"},"cwes":[{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"references":[{"url":"https://github.com/dunglas/mercure/security/advisories/GHSA-hwr4-mq23-wcv5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dunglas/mercure/commit/4964a69be904fd61e35b5f1e691271663b6fdd64","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":5.99},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"dunglas","affectedVersions":[{"vendor":"dunglas","product":"mercure","versions":["< 0.22.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-09T18:59:15.857679Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/dunglas/mercure","vulnerableRanges":["<0.22.0"],"patched":["0.22.0"],"from":["GHSA-hwr4-mq23-wcv5","GO-2026-5444"],"provenance":"source"}],"summary":{"text":"Mercure's TopicSelectorStore, the component that matches subscriber topic selectors against published topics, contains a cache key collision in versions prior to 0.22.0. An attacker with low privileges who can subscribe to the hub or publish updates using crafted topic names containing underscores can poison the match cache, potentially receiving private updates they are not authorized to see or blocking delivery to authorized subscribers, without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:29Z"},"euvd":{"id":"EUVD-2026-20967","exploited":false,"provenance":"source"}}