PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45363 jwt CVE debrief

CVE-2026-45363 ruby-jwt vulnerability allows forged tokens due to empty key verification issue. The vulnerability exists in versions prior to 2.10.3 and 3.2.0, where 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. This issue is fixed in versions 2.10.3 and 3.2.0. Defenders should assess exposure and prioritize updates.

Vendor
jwt
Product
ruby-jwt
CVSS
CRITICAL 9.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-14
Original CVE updated
2026-09-19
Advisory published
2026-07-14
Advisory updated
2026-09-19

Who should care

Defenders responsible for Ruby applications using the ruby-jwt library, particularly those handling JSON Web Tokens (JWT) for authentication or authorization, should assess exposure and prioritize updates.

Why it matters

CVE-2026-45363 in ruby-jwt allows forged tokens due to empty key verification issue, requiring defenders to verify and update to patched versions, assess exposure, and monitor for potential issues.

  • Potential token verification bypass
  • Possible authentication or authorization issues
  • Need for verification of affected systems and applications

Technical summary

The ruby-jwt library prior to versions 2.10.3 and 3.2.0 contains a vulnerability where JWT.decode(token, '', true, algorithm: 'HS256') accepts an attacker-forged token due to OpenSSL::HMAC.digest('SHA256', '', payload) returning a valid digest under an empty key. This vulnerability affects HS256, HS384, and HS512 verification through JWT.decode and JWT::EncodedToken#verify_signature!. The issue is fixed in versions 2.10.3 and 3.2.0, which introduce proper key verification checks to prevent such bypasses. Defenders should prioritize verifying and updating ruby-jwt to versions 2.10.3 or 3.2.0.

Defensive priority

Defenders should prioritize verifying and updating ruby-jwt to versions 2.10.3 or 3.2.0, and review systems using affected versions for potential exposure.

Recommended defensive actions

  • Verify and update ruby-jwt to versions 2.10.3 or 3.2.0
  • Review systems using affected ruby-jwt versions for potential exposure
  • Monitor for and respond to potential token verification issues
  • Perform thorough vulnerability assessment
  • Implement compensating controls for exposed systems
  • Track exceptions and retest remediated assets
  • Review relevant monitoring, detection, and logs for exposed assets

Evidence notes

The CVE record and NVD entry provide details on the vulnerability. GitHub commits and releases offer patch information for versions 2.10.3 and 3.2.0. The vulnerability allows for token verification bypass, potentially leading to authentication or authorization issues. Defenders should verify and update ruby-jwt to versions 2.10.3 or 3.2.0 and review systems using affected versions for potential exposure.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45363 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45363

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45363 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45363

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.