{"answers":{"affected":"15 open source packages ship an affected version, including github.com/centrifugal/centrifugo, github.com/centrifugal/centrifugo/v3 and github.com/centrifugal/centrifugo/v4.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49998 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-49998 is a high-severity authentication bypass vulnerability in centrifugal centrifugo, published on 16 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49998 and fix it if it is affected.\n\nWhat it is: CVE-2026-49998 is a high-severity authentication bypass vulnerability in centrifugal centrifugo, published on 16 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49998 exists.\n\nAffected packages and fixed versions:\n- github.com/centrifugal/centrifugo (Go): affected all versions; no fix listed\n- github.com/centrifugal/centrifugo (Go): affected all versions up to 2.4.0; no fix listed\n- github.com/centrifugal/centrifugo (Go): affected all versions up to 2.4.0; no fix listed\n- github.com/centrifugal/centrifugo/v3 (Go): affected all versions; no fix listed\n- github.com/centrifugal/centrifugo/v3 (Go): affected all versions up to 3.2.3; no fix listed\n- github.com/centrifugal/centrifugo/v3 (Go): affected all versions up to 3.2.3; no fix listed\n- github.com/centrifugal/centrifugo/v4 (Go): affected all versions; no fix listed\n- github.com/centrifugal/centrifugo/v4 (Go): affected all versions up to 4.1.5; no fix listed\n- github.com/centrifugal/centrifugo/v4 (Go): affected all versions up to 4.1.5; no fix listed\n- github.com/centrifugal/centrifugo/v5 (Go): affected all versions; no fix listed\n- github.com/centrifugal/centrifugo/v5 (Go): affected all versions up to 5.4.9; no fix listed\n- github.com/centrifugal/centrifugo/v5 (Go): affected all versions up to 5.4.9; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49998/ (Markdown: https://insights.sbomify.com/CVE-2026-49998/index.md)","id":"CVE-2026-49998","markdown":"https://insights.sbomify.com/CVE-2026-49998/index.md","name":"CVE-2026-49998","record":{"aliases":["GHSA-g6vg-wj8f-48cj","GO-2026-5872"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Real-time messaging server","requires_auth":"low_privilege","summary":"Attackers can bypass JWT authentication by exploiting a JWKS cache flaw that reuses keys across different issuers in Centrifugo.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Centrifugo: Dynamic JWKS key cache keyed only by `kid` allows cross-issuer JWT authentication bypass","id":"CVE-2026-49998","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":15,"n_references":4,"next":{"headline":"OFFIS DCMTK Toolkit Path Traversal","id":"CVE-2026-50003"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo","purl":"pkg:golang/github.com/centrifugal/centrifugo","source":"GO-2026-5872"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.4.0"],"package":"github.com/centrifugal/centrifugo","purl":null,"source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.4.0"],"package":"github.com/centrifugal/centrifugo","purl":"pkg:golang/github.com/centrifugal/centrifugo","source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v3","purl":"pkg:golang/github.com/centrifugal/centrifugo/v3","source":"GO-2026-5872"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.2.3"],"package":"github.com/centrifugal/centrifugo/v3","purl":null,"source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["3.2.3"],"package":"github.com/centrifugal/centrifugo/v3","purl":"pkg:golang/github.com/centrifugal/centrifugo/v3","source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v4","purl":"pkg:golang/github.com/centrifugal/centrifugo/v4","source":"GO-2026-5872"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.1.5"],"package":"github.com/centrifugal/centrifugo/v4","purl":null,"source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["4.1.5"],"package":"github.com/centrifugal/centrifugo/v4","purl":"pkg:golang/github.com/centrifugal/centrifugo/v4","source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v5","purl":"pkg:golang/github.com/centrifugal/centrifugo/v5","source":"GO-2026-5872"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["5.4.9"],"package":"github.com/centrifugal/centrifugo/v5","purl":null,"source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["5.4.9"],"package":"github.com/centrifugal/centrifugo/v5","purl":"pkg:golang/github.com/centrifugal/centrifugo/v5","source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":["6.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v6","purl":null,"source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":["6.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v6","purl":"pkg:golang/github.com/centrifugal/centrifugo/v6","source":"GHSA-g6vg-wj8f-48cj"},{"ecosystem":"Go","fixed":["6.8.1"],"introduced":["0"],"last_affected":[],"package":"github.com/centrifugal/centrifugo/v6","purl":"pkg:golang/github.com/centrifugal/centrifugo/v6","source":"GO-2026-5872"}],"prev":{"headline":"SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted","id":"CVE-2026-49997"},"products":["centrifugo"],"published":"2026-07-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-17","vendors":["centrifugal"]},"summary":"Attackers can bypass JWT authentication by exploiting a JWKS cache flaw that reuses keys across different issuers in Centrifugo.","url":"https://insights.sbomify.com/CVE-2026-49998/"}