Patch Ticker
EnglishEN
Elevated

web-token jwt-framework and jwt-library ECDH-ES key derivation flaw weakens token encryption

CVE-2026-134458

Login token maker library: anyone can read the token contents.

CVE
CVE-2026-134458 (opens in a new tab)
Score
CVSS 8.2
Public date
2026-10-31
First seen

Mitigation

No fixed version is confirmed for the jwt-encryption-algorithm-ecdh-es package. Find your product's fixed version in the list below and update the other products and lines. Until you update, use ECDH-ES with A128CBC-HS256 or A128GCM/A192GCM/A256GCM, or use ECDH-ES+A128KW, ECDH-ES+A192KW or ECDH-ES+A256KW. Treat every token already made with A256CBC-HS512 as exposed, and reissue tokens after the update. Update token producers and consumers together.

Fixed version by product

web-token jwt-framework and jwt-library 3.x
3.4.12 or later
web-token jwt-framework and jwt-library 4.0.x
4.0.8 or later
web-token jwt-framework and jwt-library 4.1.x
4.1.10 or later
web-token jwt-framework and jwt-library 4.2.x
4.2.4 or later

Summary

ECDH-ES direct key agreement derives its key in a single SHA-256 round, capping the content key at 32 bytes. Tokens using A256CBC-HS512 can be decrypted by anyone, and A192CBC-HS384 tokens have a 64-bit key strength.

Affected when

  • JWE created with ECDH-ES or ECDH-SS direct key agreement
  • A256CBC-HS512 or A192CBC-HS384 encryption in use

1 other Incident of this product in the last 30 days

Incidents by product: jwt-encryption-algorithm-ecdh-es · jwt-framework · jwt-library

Other recent Incidents of jwt-encryption-algorithm-ecdh-es

Read the advisory · github.com (opens in a new tab)