# CVE-2026-137560: Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size


- **Severity:** High 8.2 (`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`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 26 Nov 2026
- **Updated:** 26 Nov 2026
- **Also known as:** GHSA-96f8-m4jr-72xj, GHSA-9q9p-8vpf-7266

## What is CVE-2026-137560?

CVE-2026-137560 is a high-severity vulnerability in web-token jwt-core, published on 26 Nov 2026. 

### Official 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 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-137560?

13 open source packages ship an affected version, including web-token/jwt-framework, web-token/jwt-core and web-token/jwt-encryption.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `web-token/jwt-framework` | Packagist | `pkg:composer/web-token/jwt-framework` | All versions | 3.4.13 |
| `web-token/jwt-framework` | Packagist | `pkg:composer/web-token/jwt-framework` | From 4.0.0 | 4.0.9 |
| `web-token/jwt-framework` | Packagist | `pkg:composer/web-token/jwt-framework` | From 4.1.0 | 4.1.11 |
| `web-token/jwt-framework` | Packagist | `pkg:composer/web-token/jwt-framework` | From 4.2.0 | 4.2.6 |
| `web-token/jwt-core` | Packagist | `pkg:composer/web-token/jwt-core` | All versions to 3.2.10 | None |
| `web-token/jwt-encryption` | Packagist | `pkg:composer/web-token/jwt-encryption` | All versions | 2.0.4 |
| `web-token/jwt-encryption-algorithm-rsa` | Packagist | `pkg:composer/web-token/jwt-encryption-algorithm-rsa` | All versions to 3.2.10 | None |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | All versions | 3.4.13 |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | From 4.0.0 | 4.0.9 |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | From 4.1.0 | 4.1.11 |
| `web-token/jwt-library` | Packagist | `pkg:composer/web-token/jwt-library` | From 4.2.0 | 4.2.6 |
| `web-token/jwt-signature` | Packagist | `pkg:composer/web-token/jwt-signature` | All versions | 2.0.4 |
| `web-token/jwt-signature-algorithm-rsa` | Packagist | `pkg:composer/web-token/jwt-signature-algorithm-rsa` | All versions to 3.2.10 | None |

## How do I fix CVE-2026-137560?

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.

## Is CVE-2026-137560 being exploited?

There is no known exploitation of CVE-2026-137560 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-137560 and fix it if it is affected.

What it is: CVE-2026-137560 is a high-severity vulnerability in web-token jwt-core, published on 26 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-137560 in the wild and no public exploit code.

Affected packages and fixed versions:
- web-token/jwt-framework (Packagist): affected all versions; fixed in 3.4.13
- web-token/jwt-framework (Packagist): affected from 4.0.0; fixed in 4.0.9
- web-token/jwt-framework (Packagist): affected from 4.1.0; fixed in 4.1.11
- web-token/jwt-framework (Packagist): affected from 4.2.0; fixed in 4.2.6
- web-token/jwt-core (Packagist): affected all versions up to 3.2.10; no fix listed
- web-token/jwt-encryption (Packagist): affected all versions; fixed in 2.0.4
- web-token/jwt-encryption-algorithm-rsa (Packagist): affected all versions up to 3.2.10; no fix listed
- web-token/jwt-library (Packagist): affected all versions; fixed in 3.4.13
- web-token/jwt-library (Packagist): affected from 4.0.0; fixed in 4.0.9
- web-token/jwt-library (Packagist): affected from 4.1.0; fixed in 4.1.11
- web-token/jwt-library (Packagist): affected from 4.2.0; fixed in 4.2.6
- web-token/jwt-signature (Packagist): affected all versions; fixed in 2.0.4

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-137560/ (Markdown: https://insights.sbomify.com/CVE-2026-137560/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-137560
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-137560
- OSV: https://osv.dev/vulnerability/CVE-2026-137560

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-137560/
Summaries are generated and may contain mistakes; the official description above is the record.
