Vulnerability
CVE-2026-45363
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.
68 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-24rq-g25m-pmjx
- CGA-25qx-9v7r-m8h2
- CGA-2mjx-cf98-rffg
- CGA-33vc-mfxc-9jj7
- CGA-34vx-939p-wjr3
- CGA-36j6-4cp6-cjwh
- CGA-3frg-fhgg-m6pq
- CGA-3qgh-xcgj-w4jx
- CGA-3qh6-qfhh-xqc8
- CGA-4xq6-24cx-mwqg
- CGA-55qm-2p5r-wwmm
- CGA-63p3-w792-pc33
- CGA-66q3-85mh-xr3x
- CGA-6pq5-f58c-72cr
- CGA-6r3j-c4p9-jjx7
- CGA-738r-3wjj-2mwx
- CGA-74qf-m8q6-m36x
- CGA-7h48-8pmm-3rxq
- CGA-82m5-5gmr-r39f
- CGA-875q-h822-7983
- CGA-8mh3-94w7-3qj5
- CGA-8p75-8wmm-827j
- CGA-8wr6-mhfx-5g9v
- CGA-9c7h-gfvh-85pw
- CGA-9m3f-gc6q-9942
- CGA-c6pm-33g4-6qgq
- CGA-cg59-qrmx-qh3h
- CGA-cj9p-6476-fjhf
- CGA-f6wc-wvxc-hwcv
- CGA-fpgh-2rwq-jr48
- CGA-g782-3vg5-mrpx
- CGA-ghx6-q8p4-gmjr
- CGA-gjq3-j4xj-3797
- CGA-gmf9-4r5c-cx3x
- CGA-h5pm-j4m8-jfqw
- CGA-hfhc-hwp7-xw52
- CGA-hgvh-v2x5-7wxv
- CGA-hmmw-w637-62j2
- CGA-hpr2-5xfr-jw7r
- CGA-j572-66p2-5rr3
- CGA-jfwc-q984-54hv
- CGA-jj7p-f423-v75x
- CGA-jvhw-mv49-r7qr
- CGA-m2gf-cx47-8c29
- CGA-m647-4cfj-7gj7
- CGA-mm3x-xgjv-r7wj
- CGA-mqc4-3f47-xc22
- CGA-mv94-j469-r9rv
- CGA-p74m-3fhj-fph3
- CGA-p82c-wpvc-j766
- CGA-pqvf-g786-j2m3
- CGA-prhf-xgp7-5738
- CGA-rf7h-89xh-pjf3
- CGA-v7fx-7j22-rfx6
- CGA-v7v9-2f5m-wgcv
- CGA-vm83-m5fx-pwc2
- CGA-w2gj-v6ch-gj88
- CGA-wv58-68qr-9r4q
-
DEBIAN-CVE-2026-45363
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…
-
DLA-4787-1
ruby-jwt - security update
-
DSA-6547-1
ruby-jwt - security update
-
GHSA-c32j-vqhx-rx3x
ruby-jwt: Empty-key HMAC bypass; cross-language sibling of CVE-2026-44351
-
RHSA-2026:63327
Red Hat Security Advisory: Satellite 6.16.13 Async Update
-
RHSA-2026:63385
Red Hat Security Advisory: Satellite 6.19.4 Async Update
-
RHSA-2026:63386
Red Hat Security Advisory: Satellite 6.18.9 Async Update
-
RHSA-2026:63387
Red Hat Security Advisory: Satellite 6.17.11 Async Update
-
UBUNTU-CVE-2026-45363
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…
-
USN-9059-1
ruby-jwt vulnerability
References
- https://github.com/jwt/ruby-jwt/commit/9820020869ad147b941e49d96ab8beba35532964
- https://github.com/jwt/ruby-jwt/commit/db560b769a07bd9724e77ff505011ac01872106f
- https://github.com/jwt/ruby-jwt/releases/tag/v2.10.3
- https://github.com/jwt/ruby-jwt/releases/tag/v3.2.0
- https://github.com/jwt/ruby-jwt/security/advisories/GHSA-c32j-vqhx-rx3x
- https://lists.debian.org/debian-lts-announce/2026/09/msg00022.html