Skip to main content
Vulnerability Database/CVE-2026-85473

CVE-2026-85473: auth0/java-jwt DOS Vulnerability

CVE-2026-85473 is a denial of service vulnerability in the auth0/java-jwt library caused by malformed JWT timestamp claims. Attackers can exploit this to degrade service availability. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-85473 Overview

CVE-2026-85473 affects the auth0/java-jwt library, a widely used Java implementation of JSON Web Tokens (JWT). The library terminates a thread when it parses a JWT containing a timestamp claim (exp, nbf, or iat) with an out-of-range value. The failure occurs during token parsing, before signature verification, so unauthenticated attackers can trigger it by sending crafted tokens. Repeated requests degrade availability of any service that consumes JWTs with this library. The weakness is classified under CWE-20: Improper Input Validation.

Critical Impact

Unauthenticated attackers can send crafted JWTs to exhaust service threads and degrade availability of applications that rely on auth0/java-jwt for token processing.

Affected Products

  • auth0/java-jwt library (Java JWT implementation maintained by Auth0/Okta)
  • Applications and services that consume JWTs using auth0/java-jwt for parsing
  • Okta-affiliated components documented in the vendor advisory

Discovery Timeline

  • 2026-10-13 - CVE-2026-85473 published to the National Vulnerability Database (NVD)
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-85473

Vulnerability Analysis

The vulnerability resides in the JWT parsing path of auth0/java-jwt. When the library encounters a timestamp claim such as exp (expiration), nbf (not before), or iat (issued at) with a numeric value outside the supported range, it raises an unchecked error that terminates the processing thread. Because parsing occurs before signature verification, no valid credentials or signing key are required to reach the vulnerable code. An attacker who can submit JWTs to an endpoint, such as an authentication, authorization, or API gateway service, can repeatedly trigger the condition. Over time, repeated thread termination reduces the pool of workers available to serve legitimate traffic and leads to a denial-of-service condition.

Root Cause

The root cause is improper input validation of numeric timestamp claims during deserialization. The library does not reject or safely clamp out-of-range values before converting them, allowing the exceptional condition to propagate up and terminate the executing thread rather than being caught and surfaced as a standard JWT validation error.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. Any HTTP endpoint that accepts a bearer JWT and parses it with the affected library is reachable. The attacker crafts a JWT with a numeric exp, nbf, or iat claim set beyond the representable range, then issues repeated requests to exhaust worker threads.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-cg7w-5cc2-f2xm and the Okta Security Advisory for CVE-2026-85473 for technical details.

Detection Methods for CVE-2026-85473

Indicators of Compromise

  • Repeated inbound requests carrying JWTs whose decoded exp, nbf, or iat claims contain numeric values outside normal 32-bit or 64-bit epoch ranges.
  • Application logs showing uncaught exceptions or abrupt thread termination originating in auth0/java-jwt parsing frames.
  • Sudden drops in available worker threads or spikes in HTTP 5xx responses from JWT-protected endpoints.

Detection Strategies

  • Inspect JWT payloads at the API gateway or web application firewall and flag tokens with non-sensible timestamp claim values.
  • Correlate thread-death or thread-pool-saturation events in Java runtime logs with inbound JWT traffic patterns.
  • Baseline normal JWT claim value distributions and alert on statistical outliers in exp, nbf, and iat.

Monitoring Recommendations

  • Monitor JVM metrics for thread pool exhaustion, uncaught exception counts, and executor task failures.
  • Track request rate and error rate per source IP against JWT-accepting endpoints to detect repeated malformed-token submissions.
  • Enable verbose logging in authentication middleware to capture the originating request and token header when parsing fails.

How to Mitigate CVE-2026-85473

Immediate Actions Required

  • Upgrade auth0/java-jwt to the fixed version listed in the GitHub Security Advisory GHSA-cg7w-5cc2-f2xm.
  • Inventory all Java services and dependencies that pull in auth0/java-jwt directly or transitively, and prioritize internet-facing services.
  • Deploy input validation at the edge to reject JWTs whose timestamp claims fall outside sane bounds before they reach application code.

Patch Information

The maintainers published a fix referenced in the GitHub Security Advisory GHSA-cg7w-5cc2-f2xm and the Okta Security Advisory for CVE-2026-85473. Update the dependency in your build configuration (Maven or Gradle) and redeploy affected services.

Workarounds

  • Add a pre-parse validation layer that decodes the JWT payload and rejects tokens with numeric exp, nbf, or iat values outside a defined range.
  • Wrap auth0/java-jwt parsing calls in defensive exception handling that catches Throwable and converts it to a standard authentication failure to prevent thread death.
  • Apply per-source rate limiting on JWT-accepting endpoints to blunt repeated submission of malformed tokens until patches are deployed.
bash
# Example: upgrade auth0/java-jwt via Maven
# Replace <FIXED_VERSION> with the version listed in GHSA-cg7w-5cc2-f2xm
mvn versions:use-dep-version \
  -Dincludes=com.auth0:java-jwt \
  -DdepVersion=<FIXED_VERSION> \
  -DforceVersion=true

# Example: upgrade auth0/java-jwt via Gradle (build.gradle)
# dependencies {
#     implementation 'com.auth0:java-jwt:<FIXED_VERSION>'
# }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.