CVE-2026-45363 `jwt` (Ruby gem) - empty-key HMAC bypass
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- OpenSSLUbuntuDebianRed Hat
Description
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.
Upgrade path
20 packages: 17 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/satellite-capsule:el8/rubygem-jwt(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| ubuntu/ruby-jwt(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/ruby-jwt(Debian 12) | < 2.5.0-1+deb12u1; = 2.5.0-1 | 2.5.0-1+deb12u1 | Fixed |
| debian/ruby-jwt(Debian 13) | < 2.7.1-1+deb13u1; = 2.7.1-1 | 2.7.1-1+deb13u1 | Fixed |
| debian/ruby-jwt(Debian 14) | < 3.2.0-1; = 2.7.1-1; = 3.1.2-1 | 3.2.0-1 | Fixed |
| redhat/ansible-core(Red Hat satellite_maintenance 6.17 el9) | < 1:2.16.19-1.el9sat | 1:2.16.19-1.el9sat | Fixed |
| redhat/ansible-core(Red Hat satellite_utils 6.17 el9) | < 1:2.16.19-1.el9sat | 1:2.16.19-1.el9sat | Fixed |
| redhat/pulpcore-obsolete-packages(Red Hat satellite_utils 6.18 el9) | < 1.3.1-5.el9pc | 1.3.1-5.el9pc | Fixed |
| redhat/python3.12-pulpcore(Red Hat satellite_utils 6.18 el9) | < 3.73.30-3.el9pc | 3.73.30-3.el9pc | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_maintenance 6.17 el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_utils 6.16 el8) | < 2.10.3-1.el8sat | 2.10.3-1.el8sat | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_utils 6.16 el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_utils 6.17 el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_utils 6.18 el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat | Fixed |
| redhat/rubygem-jwt(Red Hat satellite_utils 6.19 el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat | Fixed |
| rubygems jwt(RubyGems) | < 2.10.3; = 0.1.1; = 0.1.2; = 0.1.3 +51 more | 2.10.3, 3.2.0 | Fixed |
| ubuntu/ruby-jwt(Ubuntu 22.04) | < 2.2.2-1ubuntu0.1~esm1 | 2.2.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/ruby-jwt(Ubuntu 24.04) | < 2.7.1-1+deb13u1build0.24.04.1 | 2.7.1-1+deb13u1build0.24.04.1 | Fixed |
| ubuntu/ruby-jwt(Ubuntu 26.04) | < 2.7.1-1+deb13u1build0.26.04.1 | 2.7.1-1+deb13u1build0.26.04.1 | Fixed |
| jwt ruby-jwt | = < 2.10.3; = >= 3.0.0, < 3.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jwt ruby-jwt | = < 2.10.3 | No fix listed |
| jwt ruby-jwt | = >= 3.0.0, < 3.2.0 | No fix listed |
| rubygems jwt(RubyGems) | >= 3.0.0, < 3.2.0 | 3.2.0 |
| rubygems jwt(RubyGems) | = 3.0.0 | No fix listed |
| rubygems jwt(RubyGems) | = 3.1.0 | No fix listed |
| rubygems jwt(RubyGems) | = 3.1.1 | No fix listed |
| rubygems jwt(RubyGems) | = 3.1.2 | No fix listed |
| rubygems jwt(RubyGems) | < 2.10.3 | 2.10.3 |
| rubygems jwt(RubyGems) | = 0.1.1 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.10 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.11 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.13 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.2 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.3 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.4 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.5 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.6 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.7 | No fix listed |
| rubygems jwt(RubyGems) | = 0.1.8 | No fix listed |
| rubygems jwt(RubyGems) | = 1.0.0 | No fix listed |
| rubygems jwt(RubyGems) | = 1.2.0 | No fix listed |
| rubygems jwt(RubyGems) | = 1.2.1 | No fix listed |
| rubygems jwt(RubyGems) | = 1.3.0 | No fix listed |
| rubygems jwt(RubyGems) | = 1.4.0 | No fix listed |
| rubygems jwt(RubyGems) | = 1.4.1 | No fix listed |
Show 54 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems jwt(RubyGems) | = 1.5.0 | No fix listed |
| rubygems jwt(RubyGems) | = 1.5.1 | No fix listed |
| rubygems jwt(RubyGems) | = 1.5.2 | No fix listed |
| rubygems jwt(RubyGems) | = 1.5.4 | No fix listed |
| rubygems jwt(RubyGems) | = 1.5.5 | No fix listed |
| rubygems jwt(RubyGems) | = 1.5.6 | No fix listed |
| rubygems jwt(RubyGems) | = 2.0.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.0.0.beta1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.1.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.10.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.10.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.10.2 | No fix listed |
| rubygems jwt(RubyGems) | = 2.2.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.2.0.pre.beta.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.2.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.2.2 | No fix listed |
| rubygems jwt(RubyGems) | = 2.2.3 | No fix listed |
| rubygems jwt(RubyGems) | = 2.3.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.4.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.4.0.beta1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.4.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.5.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.6.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.7.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.7.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.8.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.8.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.8.2 | No fix listed |
| rubygems jwt(RubyGems) | = 2.9.0 | No fix listed |
| rubygems jwt(RubyGems) | = 2.9.1 | No fix listed |
| rubygems jwt(RubyGems) | = 2.9.2 | No fix listed |
| rubygems jwt(RubyGems) | = 2.9.3 | No fix listed |
| redhat/rubygem-jwt(Red Hat:satellite_utils:6.16::el8) | < 2.10.3-1.el8sat | 2.10.3-1.el8sat |
| redhat/rubygem-jwt(Red Hat:satellite_utils:6.16::el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat |
| redhat/ansible-core(Red Hat:satellite_maintenance:6.17::el9) | < 1:2.16.19-1.el9sat | 1:2.16.19-1.el9sat |
| redhat/rubygem-jwt(Red Hat:satellite_maintenance:6.17::el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat |
| redhat/ansible-core(Red Hat:satellite_utils:6.17::el9) | < 1:2.16.19-1.el9sat | 1:2.16.19-1.el9sat |
| redhat/rubygem-jwt(Red Hat:satellite_utils:6.17::el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat |
| redhat/pulpcore-obsolete-packages(Red Hat:satellite_utils:6.18::el9) | < 1.3.1-5.el9pc | 1.3.1-5.el9pc |
| redhat/python3.12-pulpcore(Red Hat:satellite_utils:6.18::el9) | < 3.73.30-3.el9pc | 3.73.30-3.el9pc |
| redhat/rubygem-jwt(Red Hat:satellite_utils:6.18::el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat |
| redhat/rubygem-jwt(Red Hat:satellite_utils:6.19::el9) | < 2.10.3-1.el9sat | 2.10.3-1.el9sat |
| redhat/satellite-capsule:el8/rubygem-jwt(Red Hat:satellite:6) | All versions | No fix listed |
| debian/ruby-jwt(Debian:12) | < 2.5.0-1+deb12u1 | 2.5.0-1+deb12u1 |
| debian/ruby-jwt(Debian:12) | = 2.5.0-1 | No fix listed |
| debian/ruby-jwt(Debian:13) | < 2.7.1-1+deb13u1 | 2.7.1-1+deb13u1 |
| debian/ruby-jwt(Debian:13) | = 2.7.1-1 | No fix listed |
| debian/ruby-jwt(Debian:14) | < 3.2.0-1 | 3.2.0-1 |
| debian/ruby-jwt(Debian:14) | = 2.7.1-1 | No fix listed |
| debian/ruby-jwt(Debian:14) | = 3.1.2-1 | No fix listed |
| ubuntu/ruby-jwt(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/ruby-jwt(Ubuntu:22.04) | < 2.2.2-1ubuntu0.1~esm1 | 2.2.2-1ubuntu0.1~esm1 |
| ubuntu/ruby-jwt(Ubuntu:24.04) | < 2.7.1-1+deb13u1build0.24.04.1 | 2.7.1-1+deb13u1build0.24.04.1 |
| ubuntu/ruby-jwt(Ubuntu:26.04) | < 2.7.1-1+deb13u1build0.26.04.1 | 2.7.1-1+deb13u1build0.26.04.1 |
References
- https://github.com/jwt/ruby-jwt/security/advisories/GHSA-c32j-vqhx-rx3x vendor-advisory
- https://github.com/jwt/ruby-jwt/commit/9820020869ad147b941e49d96ab8beba35532964
- https://github.com/jwt/ruby-jwt/commit/db560b769a07bd9724e77ff505011ac01872106f patch
- https://github.com/jwt/ruby-jwt/releases/tag/v2.10.3
- https://github.com/jwt/ruby-jwt/releases/tag/v3.2.0
- lists.debian.org
- github.com
- github.com product
- github.com exploit
- www.cve.org
- Red Hat CVE page vendor-advisory
- RHSA-2026:63327 patch vendor-advisory
- RHSA-2026:63387 patch vendor-advisory
- RHSA-2026:63386 patch vendor-advisory
- RHSA-2026:63385 patch vendor-advisory
- Red Hat Bugzilla 2500739 issue-tracking
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-45363 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-9059-1 vendor-advisory
- ENISA EUVD EUVD-2026-44516 third-party-advisory