cvelo
P3 · MediumCVSS 4.8EPSS 0.1%

web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping

  • CVE-2026-137562
  • GHSA-ggpq-gv47-f38q
  • EUVD-2026-136752

Description

web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.

Text from the CVE.org record.

Recommendation

  • web-token jwt-encryption

    • If you run a version before 1.2.0update to 1.2.0 or later
  • web-token jwt-experimental

    • If you run 4.2.xupdate to 4.2.6 or laterPatch update: breaking changes are unlikely
    • If you run 4.1.xupdate to 4.1.11 or laterPatch update: breaking changes are unlikely
    • If you run 4.0.xupdate to 4.0.9 or laterPatch update: breaking changes are unlikely
    • If you run a version before 3.4.13update to 3.4.13 or later
  • web-token jwt-framework

    • If you run 4.2.xupdate to 4.2.6 or laterPatch update: breaking changes are unlikely
    • If you run 4.1.xupdate to 4.1.11 or laterPatch update: breaking changes are unlikely
    • If you run 4.0.xupdate to 4.0.9 or laterPatch update: breaking changes are unlikely
    • If you run a version before 3.4.13update to 3.4.13 or later
  • web-token jwt-library

    • If you run 4.2.xupdate to 4.2.6 or laterPatch update: breaking changes are unlikely
    • If you run 4.1.xupdate to 4.1.11 or laterPatch update: breaking changes are unlikely
    • If you run 4.0.xupdate to 4.0.9 or laterPatch update: breaking changes are unlikely
    • If you run a version before 3.4.13update to 3.4.13 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • web-token jwt-encryption

    Affected versionsFixed in
    before 1.2.01.2.0
  • web-token jwt-encryption-algorithm-aesgcmkw

    Affected versionsFixed in
    up to 3.2.10none stated
  • web-token jwt-encryption-algorithm-aeskw

    Affected versionsFixed in
    up to 3.2.10none stated
  • web-token jwt-encryption-algorithm-experimental

    Affected versionsFixed in
    up to 3.2.10none stated
  • web-token jwt-experimental

    Affected versionsFixed in
    from 4.2.0 to before 4.2.64.2.6
    from 4.1.0 to before 4.1.114.1.11
    from 4.0.0 to before 4.0.94.0.9
    before 3.4.133.4.13
  • web-token jwt-framework

    Affected versionsFixed in
    from 4.2.0 to before 4.2.64.2.6
    from 4.1.0 to before 4.1.114.1.11
    from 4.0.0 to before 4.0.94.0.9
    before 3.4.133.4.13
  • web-token jwt-library

    Affected versionsFixed in
    from 4.2.0 to before 4.2.64.2.6
    from 4.1.0 to before 4.1.114.1.11
    from 4.0.0 to before 4.0.94.0.9
    before 3.4.133.4.13

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.