{"id":"CVE-2026-137564","aliases":["CVE-2026-137564"],"related":[],"kind":"vulnerability","state":"published","title":"web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-26T15:59:57.193Z","modified":"2026-11-27T17:17:54.403Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-326"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.4.13","status":"affected"},{"type":"semver","version":"3.4.13","status":"unaffected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.9","status":"affected"},{"type":"semver","version":"4.0.9","status":"unaffected"},{"type":"semver","introduced":"4.1.0","fixed":"4.1.11","status":"affected"},{"type":"semver","version":"4.1.11","status":"unaffected"},{"type":"semver","introduced":"4.2.0","fixed":"4.2.6","status":"affected"},{"type":"semver","version":"4.2.6","status":"unaffected"}],"vendor":"web-token","product":"jwt-library","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.4.13","status":"affected"},{"type":"semver","version":"3.4.13","status":"unaffected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.9","status":"affected"},{"type":"semver","version":"4.0.9","status":"unaffected"},{"type":"semver","introduced":"4.1.0","fixed":"4.1.11","status":"affected"},{"type":"semver","version":"4.1.11","status":"unaffected"},{"type":"semver","introduced":"4.2.0","fixed":"4.2.6","status":"affected"},{"type":"semver","version":"4.2.6","status":"unaffected"}],"vendor":"web-token","product":"jwt-framework","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.2.10","status":"affected"}],"vendor":"web-token","product":"jwt-encryption","source":"cvelist"}],"references":[{"url":"https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-27T15:50:17.800Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137564","url":"https://www.cve.org/CVERecord?id=CVE-2026-137564","licence":"CVE Terms of Use","modified":"2026-11-27T16:31:29.951Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137564","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137564","licence":"Public domain","modified":"2026-11-27T17:17:54.403Z"}],"updatedAt":"2026-11-27T17:32:17.240Z","epss":{"score":0.001,"percentile":0.00876,"date":"2026-12-01T12:00:22.000Z"}}