USN-9059-1: ruby-jwt vulnerability

Published Nov 11, 2026
·
Updated

It was discovered that ruby-jwt incorrectly verified HMAC signatures when the verification key was empty or missing. A remote attacker could possibly use this issue to forge tokens and bypass authentication.

Affected Software

18 affected componentsFixes available
ubuntu/ruby-jwt<1.0.0-3ubuntu0.1~esm1
1.0.0-3ubuntu0.1~esm1
ubuntu/ruby-jwt<1.5.6-1ubuntu0.1~esm1
1.5.6-1ubuntu0.1~esm1
ubuntu/ruby-jwt<2.1.0-2ubuntu0.1~esm1
2.1.0-2ubuntu0.1~esm1
ubuntu/ruby-jwt<2.2.2-1ubuntu0.1~esm1
2.2.2-1ubuntu0.1~esm1
ubuntu/ruby-jwt<2.7.1-1+deb13u1build0.24.04.1
2.7.1-1+deb13u1build0.24.04.1
ubuntu/ruby-jwt<2.7.1-1+deb13u1build0.26.04.1
2.7.1-1+deb13u1build0.26.04.1
All of the following
ubuntu/ruby-jwt<2.7.1-1+deb13u1build0.26.04.1
2.7.1-1+deb13u1build0.26.04.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/ruby-jwt<2.7.1-1+deb13u1build0.24.04.1
2.7.1-1+deb13u1build0.24.04.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/ruby-jwt<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04
All of the following
ubuntu/ruby-jwt<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/ruby-jwt<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/ruby-jwt<1.0.0-3ubuntu0.1~esm1
1.0.0-3ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 1.0.0-3ubuntu0.1~esm1
  2. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 1.5.6-1ubuntu0.1~esm1
  3. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 2.1.0-2ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 2.2.2-1ubuntu0.1~esm1
  5. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 2.7.1-1+deb13u1build0.24.04.1
  6. Upgrade

    Upgrade ubuntu/ruby-jwt to a version that resolves this vulnerability.

    Fixed in 2.7.1-1+deb13u1build0.26.04.1

Event History

Nov 11, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·06:33 PM
Data Sourced
via OSV·06:33 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What condition must exist for exploitation to be possible?

The application must verify HMAC-signed tokens using an empty or missing verification key. Under that condition, a remote attacker may be able to forge tokens and bypass authentication.

2

Who is exposed to this issue?

Applications using the Ubuntu ruby-jwt package are exposed if they rely on HMAC signature verification and can reach a code path where the verification key is empty or absent.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203