cve.bz

CVE-2026-45363 jwt ruby-jwt: Improper Authentication

9.1 criticalEPSS 0.4%Fix available

Critical (9.1) in jwt ruby-jwt. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in jwt 2.10.3, 3.2.0.

On this page
ruby-jwt is a Ruby implementation of the RFC 7519 OAuth JSON Web Token standard. Prior to 2.10.3 and 3.2.0, JWT.decode(token, '', true, algorithm: 'HS256') accepts an attacker-forged token because OpenSSL::HMAC.digest('SHA256', '', payload) returns a valid digest under an empty key and no empty-key precondition exists in the HMAC algorithm. The same path is reached when a keyfinder block or key_finder: argument returns an empty string, nil, or an array containing nil for an unknown key, affecting HS256, HS384, and HS512 verification through JWT.decode and JWT::EncodedToken#verify_signature!. This issue is fixed in versions 2.10.3 and 3.2.0.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-07-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-287 Improper Authentication
CWE-326 Inadequate Encryption Strength
CWE-1391 Use of Weak Credentials
OWASP Top 10
A04:2025 Cryptographic Failures, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45363 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45363?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45363?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45363 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jwt ruby-jwt< 2.10.3
jwt ruby-jwt>= 3.0.0, < 3.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c32j-vqhx-rx3xRubyGemsjwt>=3.0.0 <3.2.03.2.0
GHSA-c32j-vqhx-rx3xRubyGemsjwt<2.10.32.10.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ruby-jwt2.5.0-1+deb12u1DEBIAN-CVE-2026-45363 DLA-4787-1
Debian13ruby-jwt2.7.1-1+deb13u1DEBIAN-CVE-2026-45363 DSA-6547-1
Debian14ruby-jwt3.2.0-1DEBIAN-CVE-2026-45363
Ubuntu24.04:LTSruby-jwt2.7.1-1+deb13u1build0.24.04.1UBUNTU-CVE-2026-45363 USN-9059-1
Ubuntu26.04:LTSruby-jwt2.7.1-1+deb13u1build0.26.04.1UBUNTU-CVE-2026-45363 USN-9059-1
UbuntuPro:16.04:LTSruby-jwt1.0.0-3ubuntu0.1~esm1UBUNTU-CVE-2026-45363 USN-9059-1
UbuntuPro:18.04:LTSruby-jwt1.5.6-1ubuntu0.1~esm1UBUNTU-CVE-2026-45363 USN-9059-1
UbuntuPro:20.04:LTSruby-jwt2.1.0-2ubuntu0.1~esm1UBUNTU-CVE-2026-45363 USN-9059-1
UbuntuPro:22.04:LTSruby-jwt2.2.2-1ubuntu0.1~esm1UBUNTU-CVE-2026-45363 USN-9059-1
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8openvox-server0:8.15.2-1.el8satRHSA-2026:63327
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-aiohttp, python3.11-aiohttp, python-aiohttp-debugsource and 1 more0:3.14.3-1.el8pcRHSA-2026:63327
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8, satellite_utils:6.16::el8rubygem-jwt0:2.10.3-1.el8satRHSA-2026:63327
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9openvox-server0:8.15.2-1.el9satRHSA-2026:63327
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9python-aiohttp, python3.11-aiohttp, python-aiohttp-debugsource and 1 more0:3.14.3-1.el9pcRHSA-2026:63327
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9, satellite_utils:6.16::el9rubygem-jwt0:2.10.3-1.el9satRHSA-2026:63327
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9ansible-core, ansible-test1:2.16.19-1.el9satRHSA-2026:63387
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9openvox-server0:8.15.2-1.el9satRHSA-2026:63387
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9python-aiohttp, python3.11-aiohttp, python-aiohttp-debugsource and 1 more0:3.14.3-1.el9pcRHSA-2026:63387
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9, satellite_utils:6.17::el9rubygem-jwt0:2.10.3-1.el9satRHSA-2026:63387
Red Hatsatellite:6.18::el9, satellite_capsule:6.18::el9ansible-core, ansible-test1:2.16.19-1.el9satRHSA-2026:63386
Red Hatsatellite:6.18::el9, satellite_capsule:6.18::el9openvox-server0:8.15.2-1.el9satRHSA-2026:63386
12 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Satellite 6.16 for RHEL 8rubygem-jwt-0:2.10.3-1.el8satFixed 2026-09-03RHSA-2026:63327
Red Hat Satellite 6.16 for RHEL 9rubygem-jwt-0:2.10.3-1.el9satFixed 2026-09-03RHSA-2026:63327
Red Hat Satellite 6.17 for RHEL 9ansible-core-1:2.16.19-1.el9satFixed 2026-09-03RHSA-2026:63387
Red Hat Satellite 6.17 for RHEL 9rubygem-jwt-0:2.10.3-1.el9satFixed 2026-09-03RHSA-2026:63387
Red Hat Satellite 6.18 for RHEL 9pulpcore-obsolete-packages-0:1.3.1-5.el9pcFixed 2026-09-03RHSA-2026:63386
Red Hat Satellite 6.18 for RHEL 9python3.12-pulpcore-0:3.73.30-3.el9pcFixed 2026-09-03RHSA-2026:63386
Red Hat Satellite 6.18 for RHEL 9rubygem-jwt-0:2.10.3-1.el9satFixed 2026-09-03RHSA-2026:63386
Red Hat Satellite 6.19 for RHEL 9rubygem-jwt-0:2.10.3-1.el9satFixed 2026-09-03RHSA-2026:63385
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Not affected
Red Hat Hardened ImageschunkahNot affected
Red Hat Satellite 6satellite-capsule:el8/rubygem-jwtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45363.

Attack patterns (CAPEC)

  • CAPEC-20 Encryption Brute Forcing Likelihood: Low · Severity: Low
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-192 Protocol Analysis Likelihood: Low · Severity: Low
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-287.

References

Check your stackJSON