{"answers":{"affected":"16 open source packages ship an affected version, including web-token/jwt-experimental, web-token/jwt-encryption and web-token/jwt-encryption-algorithm-aesgcmkw.","exploited":"There is no known exploitation of CVE-2026-137562 in the wild and no public exploit code.","exposure":"","fix":"Upgrade web-token/jwt-experimental to a fixed version for your release line: 4.2.6, 4.1.11, 4.0.9 or 3.4.13.","what":"CVE-2026-137562 is a medium-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137562 and fix it if it is affected.\n\nWhat it is: CVE-2026-137562 is a medium-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137562 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- web-token/jwt-experimental (Packagist): affected all versions; fixed in 3.4.13\n- web-token/jwt-experimental (Packagist): affected from 4.0.0; fixed in 4.0.9\n- web-token/jwt-experimental (Packagist): affected from 4.1.0; fixed in 4.1.11\n- web-token/jwt-experimental (Packagist): affected from 4.2.0; fixed in 4.2.6\n- web-token/jwt-encryption (Packagist): affected all versions; fixed in 1.2.0\n- web-token/jwt-encryption-algorithm-aesgcmkw (Packagist): affected all versions up to 3.2.10; no fix listed\n- web-token/jwt-encryption-algorithm-aeskw (Packagist): affected all versions up to 3.2.10; no fix listed\n- web-token/jwt-encryption-algorithm-experimental (Packagist): affected all versions up to 3.2.10; no fix listed\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\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-137562/ (Markdown: https://insights.sbomify.com/CVE-2026-137562/index.md)","id":"CVE-2026-137562","markdown":"https://insights.sbomify.com/CVE-2026-137562/index.md","name":"CVE-2026-137562","record":{"aliases":["GHSA-4mxj-75j2-j8hc","GHSA-ggpq-gv47-f38q"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"}],"description":"web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.","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 Length Check in AES Key Wrapping","id":"CVE-2026-137562","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-experimental","n_packages":16,"n_references":2,"n_vendor_status":0,"next":{"headline":"web-token jwt-framework 4.2.1 before 4.2.6 Key Exposure via JWE Exception Traces","id":"CVE-2026-137563"},"nickname":null,"packages":[{"ecosystem":"Packagist","fixed":["1.2.0"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-encryption","purl":"pkg:composer/web-token/jwt-encryption","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.2.10"],"name_kind":null,"package":"web-token/jwt-encryption-algorithm-aesgcmkw","purl":"pkg:composer/web-token/jwt-encryption-algorithm-aesgcmkw","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.2.10"],"name_kind":null,"package":"web-token/jwt-encryption-algorithm-aeskw","purl":"pkg:composer/web-token/jwt-encryption-algorithm-aeskw","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.2.10"],"name_kind":null,"package":"web-token/jwt-encryption-algorithm-experimental","purl":"pkg:composer/web-token/jwt-encryption-algorithm-experimental","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":["3.4.13"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-experimental","purl":"pkg:composer/web-token/jwt-experimental","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":["4.0.9"],"introduced":["4.0.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-experimental","purl":"pkg:composer/web-token/jwt-experimental","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":["4.1.11"],"introduced":["4.1.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-experimental","purl":"pkg:composer/web-token/jwt-experimental","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"ecosystem":"Packagist","fixed":["4.2.6"],"introduced":["4.2.0"],"last_affected":[],"name_kind":null,"package":"web-token/jwt-experimental","purl":"pkg:composer/web-token/jwt-experimental","purl_source":"cna","scope":"upstream","source":"CVE-2026-137562"},{"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-137562"},{"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-137562"},{"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-137562"},{"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-137562"},{"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-137562"},{"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-137562"},{"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-137562"},{"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-137562"}],"prev":{"headline":"Web-Token jwt-framework before 3.4.13 JWE Token Malleability via Non-Empty Encrypted Key","id":"CVE-2026-137561"},"products":["jwt-encryption","jwt-encryption-algorithm-aesgcmkw","jwt-encryption-algorithm-aeskw","jwt-encryption-algorithm-experimental","jwt-experimental","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-26","vendor_status":[],"vendors":["web-token"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-137562/"}