CVE-2025-67490: Improper Request Caching in Auth0 Next.js SDK

@auth0/nextjs-auth0 Updated 11 Dec 2025

Summary

10/12/2025
Yes i
Moderate
5.4

CVE-2025-67490: Improper Request Caching Lookup in the Auth0 Next.js SDK. Affects @auth0/nextjs-auth0 across 2 version ranges.

>= 4.11.0, < 4.11.2 >= 4.12.0, < 4.12.1

Fixed in 4.11.2 or 4.12.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Auth0 Next.js SDK is a popular library that simplifies the integration of Auth0 authentication into Next.js applications. It provides essential features such as user authentication, session management, and secure token handling. However, certain versions of this SDK are vulnerable to improper request caching, which can lead to security issues when handling simultaneous requests.

Vulnerability Detail

The vulnerability arises from improper lookups in the TokenRequestCache when multiple requests are made simultaneously using the same client instance. This can lead to unintended exposure of sensitive information or improper authentication states, potentially allowing unauthorized access to user data. The affected versions are 4.11.0, 4.11.1, and 4.12.0, which do not handle concurrent requests correctly, leading to potential security risks.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.11.0, < 4.11.2 4.11.2
    npm install @auth0/nextjs-auth0@4.11.2
  • >= 4.12.0, < 4.12.1 4.12.1
    npm install @auth0/nextjs-auth0@4.12.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, consider avoiding the use of a singleton client instance for the Auth0 Next.js SDK. Instead, create a new client instance for each request to mitigate the risk of improper caching.

Conclusion

In summary, CVE-2025-67490 is a vulnerability in the Auth0 Next.js SDK that can lead to improper request caching and potential security risks. Users are advised to upgrade to the latest patched versions to mitigate these risks. For those unable to upgrade immediately, a workaround is available to help reduce exposure.

See every vulnerability recorded for @auth0/nextjs-auth0 →

Share this vulnerability

FAQ

The affected versions are 4.11.0, 4.11.1, and 4.12.0.

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot upgrade immediately, consider implementing the workaround by avoiding the use of a singleton client instance.

The vulnerability was discovered by Joshua Rogers from MegaManSec, who also responsibly disclosed it.

Related vulnerabilities

Recent vulnerabilities recorded for @auth0/nextjs-auth0.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.11.0, < 4.11.2 4.11.2
    npm install @auth0/nextjs-auth0@4.11.2
  • >= 4.12.0, < 4.12.1 4.12.1
    npm install @auth0/nextjs-auth0@4.12.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback