CVE-2026-39972dunglas mercure
High 7.1
Follow: this CVE · dunglas · dunglas mercure We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 9, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1289
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for mercure.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/dunglas/mercure |
< 0.22.0 |
0.22.0 |
go get github.com/dunglas/mercure@v0.22.0 |
| Go | github.com/dunglas/mercure |
< 0.22.0 |
0.22.0 |
go get github.com/dunglas/mercure@v0.22.0 |
Per OSV / GitHub Advisories (GHSA-hwr4-mq23-wcv5, GO-2026-5444). Check the version in your lockfile before upgrading.
Affected products
- dunglas · mercure
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.