# CVE-2026-49998: Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-01T20:28:52.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-g6vg-wj8f-48cj, GO-2026-5872
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- centrifugal centrifugo: < 6.8.1
- github.com/centrifugal/centrifugo/v6 (Go): before 6.8.1
- github.com/centrifugal/centrifugo/v5 (Go): up to 5.4.9; all versions
- github.com/centrifugal/centrifugo/v4 (Go): up to 4.1.5; all versions
- github.com/centrifugal/centrifugo/v3 (Go): up to 3.2.3; all versions
- github.com/centrifugal/centrifugo (Go): up to 2.4.0; all versions

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cj> (exploit, advisory, web)
- <https://github.com/centrifugal/centrifugo/pull/1142>
- <https://github.com/centrifugal/centrifugo/commit/15d785015c6f318c1b68ea40b813699c9f8bd2c4>
- <https://github.com/centrifugal/centrifugo/releases/tag/v6.8.1>
- <https://github.com/centrifugal/centrifugo> (package)

## Sources

- CVE List: [CVE-2026-49998](https://www.cve.org/CVERecord?id=CVE-2026-49998), CVE Terms of Use, modified 2026-07-17
- GitHub Advisory Database: [GHSA-g6vg-wj8f-48cj](https://github.com/advisories/GHSA-g6vg-wj8f-48cj), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5872](https://pkg.go.dev/vuln/GO-2026-5872), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-49998](https://nvd.nist.gov/vuln/detail/CVE-2026-49998), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49998 · Whole record: https://cve.day/CVE-2026-49998.json · Rebuilt by cve.day 2026-11-25T22:59:28.428Z
