Centrifugo: 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49998
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:38 UTC · Revision 1
Source evidence
Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass
core-osv · Original sourcePublished 16 Jul 2026, 19:33 UTC
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.
osv:CVE-2026-49998
Complete source record
{
"id": "30bc40ed963c2313ab92266d3ff1c3729bb13fc979d0dff5ccdef7408a179b86",
"url": "https://osv.dev/vulnerability/CVE-2026-49998",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass",
"summary": "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.",
"evidence": "osv:CVE-2026-49998",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-49998",
"aliases": [
"CVE-2026-49998",
"GHSA-g6vg-wj8f-48cj",
"GO-2026-5872"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/centrifugal/centrifugo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c1246c5472ff9700868ee768e72de2911a3e4f2b"
},
{
"fixed": "15d785015c6f318c1b68ea40b813699c9f8bd2c4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "15d785015c6f318c1b68ea40b813699c9f8bd2c4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c1246c5472ff9700868ee768e72de2911a3e4f2b"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v6.8.1"
}
]
}
}
],
"versions": [
"v6.8.0",
"v6.7.2",
"v6.7.1",
"v6.7.0",
"v6.6.2",
"v6.6.1",
"v6.6.0",
"v6.5.2",
"v6.5.1",
"v6.5.0",
"v6.4.0",
"v6.3.1",
"v6.3.0",
"v6.2.5",
"v6.2.4",
"v6.2.3",
"v6.2.2",
"v6.2.1",
"v6.2.0",
"v6.1.0",
"v6.0.3",
"v6.0.2",
"v6.0.1",
"v6.0.0",
"v5.4.9",
"v5.4.8",
"v5.4.7",
"v5.4.6",
"v5.4.5",
"v5.4.4",
"v5.4.3",
"v5.4.2",
"v5.4.1",
"v5.4.0",
"v5.3.2",
"v5.3.1",
"v5.3.0",
"v5.2.2",
"v5.2.1",
"v5.2.0",
"v5.1.2",
"v5.1.1",
"v5.1.0",
"v5.0.4",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.1.3",
"v4.1.2",
"v4.1.1",
"v4.1.0",
"v4.0.4",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.2.3",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.1",
"v3.1.0",
"v3.0.5",
"v3.0.4",
"v3.0.3",
"v3.0.2",
"v3.0.1",
"v3.0.0",
"v2.8.6",
"v2.8.5",
"v2.8.4",
"v2.8.3",
"v2.8.2",
"v2.8.1",
"v2.8.0",
"v2.7.2",
"v2.7.1",
"v2.7.0",
"v2.6.2",
"v2.6.1",
"v2.5.1",
"v2.6.0",
"v2.5.0",
"v2.4.0",
"v2.3.1",
"v2.3.0",
"v2.2.7",
"v2.2.6",
"v2.2.5",
"v2.2.4",
"v2.2.3",
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.8.0",
"v1.7.9",
"v1.7.8",
"v1.7.7",
"v1.7.6",
"v1.7.5",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.5",
"v1.6.4",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.5",
"v1.4.4",
"v1.4.3",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.3.0",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49998.json"
}
}
],
"modified": "2026-10-28T02:30:32.746298940Z",
"provider": "osv",
"references": [
"https://github.com/centrifugal/centrifugo/releases/tag/v6.8.1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49998.json",
"https://github.com/centrifugal/centrifugo/security/advisories/GHSA-g6vg-wj8f-48cj",
"https://nvd.nist.gov/vuln/detail/CVE-2026-49998",
"https://github.com/centrifugal/centrifugo/commit/15d785015c6f318c1b68ea40b813699c9f8bd2c4",
"https://github.com/centrifugal/centrifugo/pull/1142"
],
"provider_metadata": {
"cwe_ids": [
"CWE-347"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49998.json"
}
},
"related_cves": [
{
"value": "CVE-2026-49998",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500071,
"published_at": "2026-07-16T19:33:33.147+00:00"
}