Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/centrifugal/centrifugo/v6
  4. ›
  5. CVE-2026-49998

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

July 1, 2026

Centrifugo’s dynamic JWKS endpoint feature can verify a JWT for one allowed issuer using a public key cached from another allowed issuer. The JWKS cache and singleflight lookup are keyed only by the JWT header kid, not by the resolved JWKS endpoint, issuer, audience, or other trust-domain namespace.

In a documented multi-issuer dynamic JWKS configuration, an attacker who can obtain or mint a valid token for issuer/tenant A can authenticate as issuer/tenant B if both JWKS documents use the same kid value and tenant A’s key is cached first. This affects connection token verification and subscription token verification because both paths use the same JWKS verification manager.

References

  • github.com/advisories/GHSA-g6vg-wj8f-48cj
  • github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cj
  • nvd.nist.gov/vuln/detail/CVE-2026-49998

Code Behaviors & Features

Detect and mitigate CVE-2026-49998 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.8.1

Fixed versions

  • 6.8.1

Solution

Upgrade to version 6.8.1 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

go/github.com/centrifugal/centrifugo/v6/CVE-2026-49998.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 10 Jul 2026 12:17:42 +0000.