High severityNVD Advisory· Published Jul 16, 2026· Updated Jul 17, 2026
Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass
CVE-2026-49998
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/centrifugal/centrifugo/v6Go | < 6.8.1 | 6.8.1 |
github.com/centrifugal/centrifugo/v5Go | <= 5.4.9 | — |
github.com/centrifugal/centrifugo/v4Go | <= 4.1.5 | — |
github.com/centrifugal/centrifugo/v3Go | <= 3.2.3 | — |
github.com/centrifugal/centrifugoGo | <= 2.4.0 | — |
Affected products
1- Range: <6.8.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-g6vg-wj8f-48cjghsaADVISORY
- github.com/centrifugal/centrifugo/commit/15d785015c6f318c1b68ea40b813699c9f8bd2c4mitrex_refsource_MISC
- github.com/centrifugal/centrifugo/pull/1142mitrex_refsource_MISC
- github.com/centrifugal/centrifugo/releases/tag/v6.8.1mitrex_refsource_MISC
- github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cjghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.