`jwt` (Ruby gem) - empty-key HMAC bypass
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jwt | ruby-jwt | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Jwt | Ruby-jwt |
|
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4787-1 | ruby-jwt security update |
Debian DSA |
DSA-6547-1 | ruby-jwt security update |
Github GHSA |
GHSA-c32j-vqhx-rx3x | ruby-jwt: Empty-key HMAC bypass; cross-language sibling of CVE-2026-44351 |
Ubuntu USN |
USN-9059-1 | ruby-jwt vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.364% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jwt
Jwt ruby-jwt |
|
| Vendors & Products |
Jwt
Jwt ruby-jwt |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-347 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | `jwt` (Ruby gem) - empty-key HMAC bypass | |
| Weaknesses | CWE-1391 CWE-287 CWE-326 |
|
| References |
|
|
| Metrics |
cvssV3_1
|