Skip to main content

web-token jwt-framework CVE-2026-137579

| EUVDEUVD-2026-136749 HIGH
Observable Timing Discrepancy (CWE-208)
2026-11-26 VulnCheck
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain recipient RSA public key
  2. Delivery
    Submit many crafted JWEs for decryption
  3. Exploit
    Time CRT-recombination rejection side channel
  4. Execution
    Binary-search prime q and factor modulus
  5. Impact
    Decrypt all JWEs encrypted to key

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Requires an application that decrypts JWEs from untrusted senders using the RSA-OAEP, RSA-OAEP-256, or RSA1_5 key-encryption algorithms with an RSA private key that has CRT parameters (p, q, dp, dq, qi) - exactly what JWKFactory::createRSAKey() produces. The attacker must possess the recipient's public key, be able to submit JWEs (no valid token needed; every token is rejected), and collect timing measurements precise to a few microseconds over roughly 290,000 rejected tokens for a 2048-bit key. Limiting factors: the measurable timing step only exists on keys WITH CRT parameters (non-CRT keys show no step, though they remain unblinded); recovery was demonstrated only same-host, and network jitter substantially raises the sample count; rate-limiting rejected tokens raises cost but does not remove the flaw; applications accepting the JSON General serialization let an attacker amplify the signal across many recipients in one request.

Impact

This is a genuine but conditional cryptographic risk, not a drop-everything emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H) scores 8.2 and marks the vulnerability as network-reachable and unauthenticated (PR:N), with the AT:P (attack requirements present) metric correctly capturing that the attack is not trivial - the advisory states an attacker needs microsecond-precision timing over roughly 290,000 rejected tokens for a 2048-bit key, and recovery was only demonstrated from a separate process on the SAME host. Network recovery was explicitly NOT demonstrated, and jitter raises the required sample count. The vuln.today priority is 'this_week', consistent with a serious-but-paced response rather than act_now/emergency. No EPSS score and no KEV listing are provided in the input, and there is no published exploit code - only the reporter's (Anthropic OSS Scanner / VulnCheck) experimental local recovery. The high VC:H is justified: full RSA private-key recovery exposes every JWE ever encrypted to that key, past and future, and permits signature forgery if the key is reused for signing. Net: treat as a real priority for applications that decrypt untrusted RSA-encrypted JWEs, but the practical difficulty of remote microsecond timing meaningfully lowers the odds of widespread opportunistic exploitation versus a targeted attacker.

Exploit ScenarioDerived

An application decrypts JWEs from untrusted senders using RSA-OAEP, RSA-OAEP-256, or RSA1_5 with an RSA key that carries CRT parameters. An attacker holding the recipient's public key submits a large volume of crafted tokens - all of which are rejected - and times each rejection; because CRT recombination takes a few microseconds longer once the decrypted value reaches the prime q, the attacker binary-searches q, factors the modulus, and recovers the private key. The reporter demonstrated this against a fresh 2048-bit key in a few minutes from a separate process on the same host; no working public exploit code is published, and network-based recovery was not demonstrated.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Unblinded RSA private key operations in web-token/jwt-framework and jwt-library (all versions before 3.4.13, 4.0.9, 4.1.11 and 4.2.6, plus jwt-core through 3.2.10) let an unauthenticated remote attacker who can submit JWEs recover the RSA decryption key by timing how long the library takes to reject crafted tokens, enabling decryption of every JWE encrypted to that key. Exploitation requires an application that decrypts attacker-supplied JWEs with RSA-OAEP, RSA-OAEP-256 or RSA1_5 using a CRT-parameterised private key, and the attacker must be able to measure rejections to a few microseconds across roughly 290,000 tokens for a 2048-bit key; the reporter demonstrated recovery only from a separate process on the same host, and network jitter raises the sample count substantially. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has released patched versions that blind every RSA private key operation.

RemediationAI

Upgrade to a patched release: 4.2.6 (or later), 4.1.11, 4.0.9, or 3.4.13 if you are still on the 3.x line, which is end of life and should be migrated to 4.x. The fix blinds every RSA private key operation by applying the key to c · r^e mod n for a fresh random r coprime to n and multiplying the result by r^-1 mod n, so the values handled during exponentiation and CRT recombination no longer depend on sender input; the same release also rejects inputs equal to the modulus per RFC 8017. Expect each private key operation to cost roughly 5 to 20 percent more time (one extra modular exponentiation, one modular inverse, two modular multiplications). Two edge cases change: a private JWK whose e does not match its d now yields a wrong result, and calling an RSA algorithm class directly with an input equal to the modulus now throws a RuntimeException, while JWSVerifier and JWEDecrypter continue to reject such tokens as before. Until you can upgrade, stop decrypting RSA-encrypted JWEs from untrusted senders or switch key encryption to ECDH-ES with or without key wrapping, and rate limit rejected tokens, which raises the attack cost without eliminating the flaw. If an RSA decryption key was reachable by untrusted senders whose requests were not limited and your logs show a large volume of rejected JWEs for that key, rotate the key after upgrading, since every JWE previously encrypted to it is exposed.

Affected VersionsENISA

jwt-framework 4.0.0 <4.0.9
jwt-library 4.1.0 <4.1.11
jwt-framework 4.1.0 <4.1.11
jwt-core 0 ≤3.2.10
jwt-library 0 <3.4.13
jwt-library 4.0.0 <4.0.9
jwt-framework 4.2.0 <4.2.6
jwt-library 4.2.0 <4.2.6
jwt-framework 0 <3.4.13

Affected Packages

euvd jwt_core no fix
euvd jwt_framework fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6
euvd jwt_library fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-208 (observable timing discrepancy) in RSAKey::exponentiate(), the RSA private key primitive behind the RSA-OAEP, RSA-OAEP-256 and RSA1_5 JWE key-encryption algorithms. The integer being exponentiated is chosen by whoever sends the token, and the library applied the private key to it directly with no blinding. When the private key carries CRT parameters (p, q, dp, dq, qi), which is what JWKFactory::createRSAKey() produces, the CRT recombination time depends on whether the recovered plaintext m lies below or above the prime q: the brick/math big-integer layer used since version 2.2.0 skips additions with 0 and multiplications by 1, and below q the recombination operates on exactly such operands, making rejection a few microseconds slower once m reaches q. Repeated timing of rejections permits a binary search on q, then factorisation of the modulus. The unblinded operation itself is as old as the library; only the measurable step dates from the move to brick/math in 2.2.0. Keys without CRT parameters exhibit no measurable step but were equally unblinded and are covered by the same fix. Applications that accept the JSON General serialization allow a sender to accumulate the difference across many recipients within a single request, amplifying the signal.

Know when Jwt Library gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated JWE submission (PR:N), but microsecond timing over ~290k samples makes it AC:H; impact is RSA key recovery (C:H) with no integrity or availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 15:59 cve.org
HIGH 8.2

DescriptionCVE.org

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-core through 3.2.10, perform unblinded RSA private key operations in RSAKey::exponentiate(), so CRT recombination time reveals whether a decrypted RSA-OAEP, RSA-OAEP-256, or RSA1_5 value is below the prime q. Attackers who can submit JWEs can time rejections of crafted tokens to binary search q, factor the modulus, and decrypt all JWEs encrypted to that key.

Technical POC Analysis

CWE-208 (Observable Timing Discrepancy) - the defect is a missing RSA blinding step, not a logic error in JWE parsing.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the widely used web-token/jwt-framework and related libraries could allow an attacker to recover RSA private keys by measuring decryption timing, potentially exposing all JWEs encrypted with those keys. This impacts any application that decrypts untrusted JWEs, putting sensitive encrypted data and authentication tokens at risk. Leadership should prioritize patching to prevent key compromise and subsequent data breaches.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; however, the vendor has released patched versions that blind RSA private key operations (3.4.13, 4.0.9, 4.1.11, 4.2.6, and jwt-core 3.2.10). Until patched, limit exposure by restricting JWE decryption endpoints to trusted networks, rate-limiting requests, and monitoring for timing attacks.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular PHP/Composer JWT library, but only RSA-JWE-decrypting deployments affected
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2021-3127 HIGH POC
7.5 Mar 16

NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar

CVE-2026-134461 HIGH
8.7 Nov 21

Unauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-lib

CVE-2026-134459 HIGH
8.2 Nov 21

PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo

CVE-2026-137582 HIGH
8.2 Nov 26

CPU-exhaustion denial of service in web-token/jwt-framework and the related jwt-library, jwt-encryption and jwt-signatur

CVE-2026-137559 HIGH
8.2 Nov 26

CPU exhaustion in web-token JWT Framework (jwt-framework and jwt-library) lets an unauthenticated remote attacker keep P

CVE-2026-137581 HIGH
8.2 Nov 26

Unauthenticated CPU and memory exhaustion in web-token/jwt-framework and web-token/jwt-library lets anyone who can submi

CVE-2026-134458 HIGH
8.2 Nov 21

JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt

CVE-2026-137564 HIGH
8.2 Nov 26

Confidentiality loss in web-token/jwt-framework and the underlying jwt-library: JWE tokens produced with direct encrypti

CVE-2026-137560 HIGH
8.2 Nov 26

Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to cons

CVE-2026-137580 HIGH
8.2 Nov 26

Parsing JSON General serialized JWS tokens in web-token/jwt-framework and the underlying jwt-library (before 3.4.13, 4.0

CVE-2026-137558 MEDIUM
6.3 Nov 26

RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA block

CVE-2026-137562 MEDIUM
6.3 Nov 26

The web-token/jwt-framework PHP library fails to validate the length of oct keys used with A128KW/A192KW/A256KW, A128GCM

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy