CVE-2026-137582 in jwt-frameworkinfo

Summary

by MITRE • 11/26/2026

web-token jwt-framework 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 allows denial of service because JWELoader and JWSLoader try every recipient or signature of a JSON General serialized token without limiting their number. Unauthenticated attackers can send a small JWE with many empty recipients inheriting a maximal PBES2 p2c value, forcing repeated key derivations that exhaust worker CPU.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The web-token jwt-framework library contains a critical vulnerability affecting versions prior to 3.4.13, as well as the 4.0.x series before version 4.0.9, the 4.1.x series before version 4.1.11, and the 4.2.x series before version 4.2.6. This flaw manifests as a denial of service condition resulting from an unbounded iteration over recipients or signatures within JSON General serialized tokens processed by JWELoader and JWSLoader components. The core technical deficiency lies in the absence of limits on the number of recipient keys or signature verifications attempted during token parsing, which allows attackers to craft malicious inputs that trigger excessive computational overhead without requiring authentication.

The operational mechanism of this vulnerability involves the exploitation of JSON General serialization formats where a single encrypted payload is associated with multiple recipients, each potentially protected by different encryption algorithms and key derivation functions. An unauthenticated attacker can construct a small JWE token containing numerous empty or dummy recipients while inheriting a maximal PBES2 p2c value from one of them. The p2c parameter in the PBES2 algorithm dictates the number of iterations for password-based key derivation, which is computationally expensive by design to resist brute-force attacks. When the loader processes this malicious token, it attempts to derive keys for every recipient using these high-cost parameters, leading to a significant spike in CPU utilization across worker threads handling the request.

This behavior directly impacts system availability and resource stability, as the repeated key derivations exhaust available CPU cycles on the server side. Since the attack does not require authentication, any external actor can trigger this condition by sending specially crafted HTTP requests containing the malicious JWT payload. The resulting denial of service effectively renders the application unresponsive to legitimate users until the processing completes or system resources are exhausted, potentially causing cascading failures in microservices architectures that rely on synchronous token validation for authorization decisions.

From a classification perspective, this vulnerability aligns with CWE-400, which describes unconstrained resource consumption leading to denial of service conditions. It also maps to MITRE ATT&CK technique T1496, Resource Hijacking, where attackers leverage legitimate system processes or resources to consume excessive computational power for disruptive purposes. The lack of input validation regarding the count and complexity of cryptographic operations within parsed tokens represents a fundamental design oversight in how the framework handles untrusted JWT structures.

To mitigate this risk, organizations must immediately upgrade the web-token jwt-framework library to version 3.4.13 or later, ensuring that all dependent services are updated across their respective environments including versions 4.0.9, 4.1.11, and 4.2.6 depending on the specific branch in use. Additionally, implementing rate limiting at the API gateway level can help throttle requests containing large JWT payloads before they reach the application logic. Security teams should also consider integrating Web Application Firewalls configured to detect anomalies in token size or structure, thereby providing an additional layer of defense against such resource exhaustion attacks while patching is applied.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00348

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!