{"answers":{"affected":"10 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-137581 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-137581 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-137581 and fix it if it is affected.\n\nWhat it is: CVE-2026-137581 is a high-severity vulnerability in web-token jwt-encryption, published on 26 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-137581 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- web-token/jwt-signature (Packagist): affected all versions up to 3.2.10; no fix listed\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-137581/ (Markdown: https://insights.sbomify.com/CVE-2026-137581/index.md)","id":"CVE-2026-137581","markdown":"https://insights.sbomify.com/CVE-2026-137581/index.md","name":"CVE-2026-137581","record":{"aliases":["GHSA-2xq2-pp89-x7fr","GHSA-pwpj-659r-3g6v"],"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:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"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 and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.","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 Denial of Service via Unbounded JSON Decoding","id":"CVE-2026-137581","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":10,"n_references":2,"n_vendor_status":0,"next":{"headline":"Web-token jwt-framework before 3.4.13 DoS via JWE/JWS Multiple Recipients","id":"CVE-2026-137582"},"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"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-137581"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.2.10"],"name_kind":null,"package":"web-token/jwt-signature","purl":"pkg:composer/web-token/jwt-signature","purl_source":"cna","scope":"upstream","source":"CVE-2026-137581"}],"prev":{"headline":"web-token jwt-framework before 3.4.13 Denial of Service via JSONGeneralSerializer","id":"CVE-2026-137580"},"products":["jwt-encryption","jwt-framework","jwt-library","jwt-signature"],"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-137581/"}