CVE-2026-49998Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT…
Centrifugo is an open-source scalable real-time messaging server. Prior to 6.8.1, Centrifugo dynamic JWKS endpoint verification could reuse a key for one allowed issuer to verify a JWT for another allowed issuer because the JWKS cache and singleflight lookup were keyed only by JWT header kid, not by the resolved JWKS endpoint, issuer, audience, or trust-domain namespace, affecting client.token.jwks_public_endpoint, client.subscription_token.jwks_public_endpoint, internal/jwks/cache.go, and internal/jwks/manager.go. This issue is fixed in version 6.8.1.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Go has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/centrifugal/centrifugo | Fix pending | GHSA-g6vg-wj8f-48cj | |
| Go library | github.com/centrifugal/centrifugo/v3 | Fix pending | GO-2026-5872 | |
| Go library | github.com/centrifugal/centrifugo/v4 | Fix pending | GO-2026-5872 | |
| Go library | github.com/centrifugal/centrifugo/v5 | Fix pending | GHSA-g6vg-wj8f-48cj | |
| Go library | github.com/centrifugal/centrifugo/v6 | Fixed | 6.8.1 | GO-2026-5872 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- centrifugal centrifugo: affected: < 6.8.1
References
- https://github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cj
- https://github.com/centrifugal/centrifugo/pull/1142
- https://github.com/centrifugal/centrifugo/commit/15d785015c6f318c1b68ea40b813699c9f8bd2c4
- https://github.com/centrifugal/centrifugo/releases/tag/v6.8.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.