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-107371 Overview
CVE-2026-107371 is a session management flaw in the auth0.js library. When an application calls the authorize() method with a maxAge parameter, the library fails to validate the auth_time claim in the returned ID token against the requested value. An application can therefore accept an ID token that represents an authentication event older than the maximum age the developer intended to enforce. The weakness maps to [CWE-613: Insufficient Session Expiration]. Okta published advisories for the issue through the Okta Trust Center and the GitHub Security Advisory GHSA-42v6-5rcc-mq4v.
Critical Impact
Applications relying on maxAge to force recent re-authentication can be bypassed, allowing stale authentication sessions to satisfy sensitive step-up or privileged operations.
Affected Products
- Auth0 auth0.js JavaScript SDK
- Web applications using authorize() with the maxAge parameter
- Downstream relying parties that depend on auth_time enforcement by the client library
Discovery Timeline
- 2026-10-13 - CVE CVE-2026-107371 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-107371
Vulnerability Analysis
The maxAge parameter in an OpenID Connect authentication request instructs the identity provider that the end user must have authenticated within a specified number of seconds. When the provider issues an ID token, it includes an auth_time claim representing the time of the most recent authentication event. Relying parties must compare auth_time against the requested maxAge and reject tokens that exceed the allowed age.
The auth0.js library omits this comparison when the token is returned from an authorize() call. The SDK validates signature, issuer, audience, and expiration, but it does not evaluate auth_time against the originally requested maxAge. Developers who rely on the SDK to enforce freshness receive tokens that appear valid even when the underlying session is older than intended.
The impact is scoped to applications that use maxAge as a security control, for example to require fresh authentication before changing passwords, authorizing transactions, or granting administrative access.
Root Cause
The root cause is a missing validation step in the ID token verification routine of auth0.js. The library processes the token without comparing auth_time against the max_age request parameter stored in the transaction state. This is a classic Insufficient Session Expiration weakness [CWE-613] implemented at the client validation layer rather than the session store.
Attack Vector
An authenticated user with a stale session can satisfy a maxAge-protected flow without re-entering credentials. An attacker who gains access to a browser with a pre-existing Auth0 session can trigger sensitive application flows that developers expected to require a fresh authentication prompt. Exploitation requires low privileges and no user interaction beyond initiating the protected action.
The vulnerability is described in prose only; see the GitHub Security Advisory for implementation specifics.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-107371
Indicators of Compromise
- Successful completion of sensitive application flows without a visible authentication prompt when maxAge was requested
- ID tokens accepted by the application where the auth_time claim predates the max_age boundary
- Authentication events in Auth0 tenant logs showing prompt=none responses satisfying step-up requests
Detection Strategies
- Inspect application logs for ID tokens whose auth_time claim is older than the configured maxAge at the time of use
- Review Auth0 tenant logs for authorization requests containing max_age that completed without a login challenge
- Audit application source for calls to webAuth.authorize({ maxAge: ... }) and verify that auth_time is validated server-side
Monitoring Recommendations
- Forward Auth0 tenant logs to a centralized data lake and correlate max_age requests with corresponding auth_time values
- Alert when sensitive endpoints are reached without a corresponding fresh authentication event in the identity provider logs
- Track auth0.js library versions deployed across public-facing applications and flag versions prior to the fixed release
How to Mitigate CVE-2026-107371
Immediate Actions Required
- Upgrade auth0.js to the patched version listed in the GitHub Security Advisory GHSA-42v6-5rcc-mq4v
- Add server-side validation that compares the auth_time claim against the requested max_age for every protected flow
- Inventory all application code paths that depend on maxAge for step-up authentication and treat them as potentially bypassed until patched
Patch Information
Okta and the Auth0 maintainers have published fixes through the auth0.js security advisory and the Okta Trust Center advisory. Review the advisories for the exact fixed version and apply the update through your package manager.
Workarounds
- Perform explicit auth_time validation in application code before trusting any maxAge-gated action
- Use prompt=login instead of maxAge where feasible to force an unconditional re-authentication challenge
- Shorten identity provider session lifetimes so that stale sessions are less likely to satisfy sensitive flows
# Update auth0.js to the patched release
npm install auth0-js@latest
# Verify the installed version matches the fix noted in the advisory
npm list auth0-js
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

