{"id":"CVE-2026-137564","aliases":["GHSA-jc6j-46g2-xwqc"],"title":"web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption","originalDescription":"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.","severity":{"cvss":8.2,"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.001,"percentile":0.00192},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"jwt-framework","range":">=0, <3.4.13","fixed":"3.4.13"},{"ecosystem":"vendor","name":"jwt-framework","range":">=4.0.0, <4.0.9","fixed":"4.0.9"},{"ecosystem":"vendor","name":"jwt-framework","range":">=4.1.0, <4.1.11","fixed":"4.1.11"},{"ecosystem":"vendor","name":"jwt-framework","range":">=4.2.0, <4.2.6","fixed":"4.2.6"},{"ecosystem":"vendor","name":"jwt-library","range":">=0, <3.4.13","fixed":"3.4.13"},{"ecosystem":"vendor","name":"jwt-library","range":">=4.0.0, <4.0.9","fixed":"4.0.9"},{"ecosystem":"vendor","name":"jwt-library","range":">=4.1.0, <4.1.11","fixed":"4.1.11"},{"ecosystem":"vendor","name":"jwt-library","range":">=4.2.0, <4.2.6","fixed":"4.2.6"}],"references":[{"url":"https://github.com/web-token/jwt-framework/security/advisories/GHSA-jc6j-46g2-xwqc","type":"vendor-advisory"},{"url":"https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-missing-key-size-check-in-direct-encryption","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137564.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137564","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T17:33:04.637Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137564","license":"NVD terms of use","firstSeenAt":"2026-11-26T16:47:46.174Z"},{"name":"osv","at":"2026-11-27T23:03:33.791Z","url":"https://osv.dev/vulnerability/CVE-2026-137564","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T18:27:30.998Z"},{"name":"cvelistV5","at":"2026-11-28T18:16:04.917Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137564","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T16:12:15.427Z"}],"firstSeenAt":"2026-11-26T16:12:15.427Z","publishedAt":"2026-11-26T15:59:57.193Z","modifiedAt":"2026-11-27T21:00:59.087Z"}