CVE-2026-49998
HIGH 8.2CVSS 3.1Centrifugo's dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass
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.
- Published
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-347
- Also known as
- GHSA-g6vg-wj8f-48cjGO-2026-5872
- Sources
- NVDJSONOSV GHSA-g6vg-wj8f-48cjJSONOSV GO-2026-5872JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/centrifugal/centrifugo/v6 | < 6.8.1 | 6.8.1 |
| OSV | Go | github.com/centrifugal/centrifugo/v5 | <= 5.4.9 | |
| OSV | Go | github.com/centrifugal/centrifugo/v4 | <= 4.1.5 | |
| OSV | Go | github.com/centrifugal/centrifugo/v3 | <= 3.2.3 | |
| OSV | Go | github.com/centrifugal/centrifugo | <= 2.4.0 | |
| OSV | Go | github.com/centrifugal/centrifugo | all versions | |
| OSV | Go | github.com/centrifugal/centrifugo/v3 | all versions | |
| OSV | Go | github.com/centrifugal/centrifugo/v4 | all versions | |
| OSV | Go | github.com/centrifugal/centrifugo/v5 | all versions |
References
- https://github.com/centrifugal/centrifugo/commit/15d785015c6f318c1b68ea40b813699c9f8bd2c4
- https://github.com/centrifugal/centrifugo/pull/1142
- https://github.com/centrifugal/centrifugo/releases/tag/v6.8.1
- https://github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cj · WEB, ADVISORY
- https://github.com/centrifugal/centrifugo · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2026)