{"answers":{"affected":"9 open source packages ship an affected version, including web-token/jwt-framework, web-token/jwt-encryption and web-token/jwt-library.","exploited":"There is no known exploitation of CVE-2026-137564 in the wild and no public exploit code.","exposure":"","fix":"Upgrade web-token/jwt-framework to a fixed version for your release line: 4.2.6, 4.1.11, 4.0.9 or 3.4.13.","what":"CVE-2026-137564 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137564 and fix it if it is affected.\n\nWhat it is: CVE-2026-137564 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137564 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- web-token/jwt-framework (Packagist): affected all versions; fixed in 3.4.13\n- web-token/jwt-framework (Packagist): affected from 4.0.0; fixed in 4.0.9\n- web-token/jwt-framework (Packagist): affected from 4.1.0; fixed in 4.1.11\n- web-token/jwt-framework (Packagist): affected from 4.2.0; fixed in 4.2.6\n- web-token/jwt-encryption (Packagist): affected all versions up to 3.2.10; no fix listed\n- web-token/jwt-library (Packagist): affected all versions; fixed in 3.4.13\n- web-token/jwt-library (Packagist): affected from 4.0.0; fixed in 4.0.9\n- web-token/jwt-library (Packagist): affected from 4.1.0; fixed in 4.1.11\n- web-token/jwt-library (Packagist): affected from 4.2.0; fixed in 4.2.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-137564/ (Markdown: https://insights.sbomify.com/CVE-2026-137564/index.md)","id":"CVE-2026-137564","markdown":"https://insights.sbomify.com/CVE-2026-137564/index.md","name":"CVE-2026-137564","record":{"aliases":["GHSA-jc6j-46g2-xwqc","GHSA-qj8f-r39j-gvfh"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"web-token jwt-framework before 3.4.13 Missing Key Size Check in Direct Encryption","id":"CVE-2026-137564","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":["4.2.6","4.1.11","4.0.9","3.4.13"],"main_package":"web-token/jwt-framework","n_packages":9,"n_references":2,"n_vendor_status":0,"next":{"headline":"Argo Workflows 3.0.0 through 3.7.18, before 4.0.12 and 4.1.4 Path Traversal via Artifact Drivers","id":"CVE-2026-137566"},"nickname":null,"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.2.10"],"name_kind":null,"package":"web-token/jwt-encryption","purl":"pkg:composer/web-token/jwt-encryption","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["3.4.13"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-framework","purl":"pkg:composer/web-token/jwt-framework","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.0.9"],"introduced":["4.0.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-framework","purl":"pkg:composer/web-token/jwt-framework","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.1.11"],"introduced":["4.1.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-framework","purl":"pkg:composer/web-token/jwt-framework","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.2.6"],"introduced":["4.2.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-framework","purl":"pkg:composer/web-token/jwt-framework","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["3.4.13"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-library","purl":"pkg:composer/web-token/jwt-library","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.0.9"],"introduced":["4.0.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-library","purl":"pkg:composer/web-token/jwt-library","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.1.11"],"introduced":["4.1.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-library","purl":"pkg:composer/web-token/jwt-library","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"},{"ecosystem":"Packagist","fixed":["4.2.6"],"introduced":["4.2.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-library","purl":"pkg:composer/web-token/jwt-library","purl_source":"cna","scope":"upstream","source":"CVE-2026-137564"}],"prev":{"headline":"web-token jwt-framework 4.2.1 before 4.2.6 Key Exposure via JWE Exception Traces","id":"CVE-2026-137563"},"products":["jwt-encryption","jwt-framework","jwt-library"],"published":"2026-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-27","vendor_status":[],"vendors":["web-token"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137564/"}