CVE-2026-137564
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do n…
Auswirkung
web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for direct (dir) encryption, so undersized keys are zero-padded. Anyone holding a token issued with a half-size AES-CBC-HMAC key can decrypt it, and an empty key also allows forging tokens the decrypter accepts.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Produkte (Web-token)
| Produkt | Betroffene Versionen |
|---|---|
| Jwt-encryption | bis einschließlich 3.2.10 Version 0 ≤3.2.10 |
| Jwt-framework | vor 3.4.13 ab 4.0.0 vor 4.0.9 ab 4.1.0 vor 4.1.11 ab 4.2.0 vor 4.2.6 |
| Jwt-library | vor 3.4.13 ab 4.0.0 vor 4.0.9 ab 4.1.0 vor 4.1.11 ab 4.2.0 vor 4.2.6 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption
- https://github.com/advisories/GHSA-qj8f-r39j-gvfh
- https://nvd.nist.gov/vuln/detail/CVE-2026-137564