CVE-2025-67490: @auth0/nextjs auth0 Improper Request Caching Lookup Vulnerability

MODERATE
Advisory Identifier: GHSA-wcgj-f865-c7j7
CVSS 5.4
CWE-863
Published
Advisory Summary

CVE-2025-67490 is a MODERATE (CVSS 5.4) improper request caching lookup vulnerability (CWE-863: Incorrect Authorization) affecting @auth0/nextjs auth0 libraries in the npm ecosystem. The issue involves improper request caching lookup in the auth0 next.js sdk. Remediation is available by upgrading affected packages to version 4.11.2, 4.12.1.

CVE-2025-67490 at a Glance

CVE Identifier CVE-2025-67490
GHSA Identifier GHSA-wcgj-f865-c7j7
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-863: Incorrect Authorization
Affected Product @auth0/nextjs auth0
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-67490

To remediate this vulnerability, upgrade all affected @auth0/nextjs auth0 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@auth0/nextjs-auth0 fixed: 4.11.2
npm install @auth0/nextjs-auth0@4.11.2
@auth0/nextjs-auth0 fixed: 4.12.1
npm install @auth0/nextjs-auth0@4.12.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @auth0/nextjs-auth0

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-67490, inspect your project dependencies using npm:

npm ls @auth0/nextjs-auth0

Analyze the terminal output to locate any version of @auth0/nextjs auth0 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.11.2), your application is affected.

Note: The npm ls @auth0/nextjs-auth0 command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In @auth0/nextjs auth0, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Description When using affected versions of the Next.js SDK, simultaneous requests on the same client may result in improper lookups in the TokenRequestCache for the request results. ### Am I Affected? You are affected if you meet the following preconditions: - Applications using the auth0/nextjs-auth0 SDK with a singleton client instance, versions 4.11.0, 4.11.1, and 4.12.0. ### Affected product and versions Auth0/nextjs-auth0 v4.11.0, v4.11.1, and v4.12.0. ### Resolution Upgrade Auth0/nextjs-auth0 version to v4.11.2 or v4.12.1 ### Acknowledgements Okta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.

CVE-2025-67490 Affected @auth0/nextjs auth0 Versions

2 component(s)
Fixed Versions:
4.11.24.12.1
Product / Package Ecosystem Affected Versions Fixed Version
@auth0/nextjs-auth0
npm
≥ 4.11.0
< 4.11.2
4.11.2
@auth0/nextjs-auth0
npm
≥ 4.12.0
< 4.12.1
4.12.1

References

Frequently Asked Questions

What is CVE-2025-67490?
CVE-2025-67490 is a security vulnerability in @auth0/nextjs auth0 involving Improper Request Caching Lookup in the Auth0 Next.js SDK under CWE-863: Incorrect Authorization.
Which @auth0/nextjs auth0 versions are affected?
Affected versions include releases prior to 4.11.2, 4.12.1 across affected packages: @auth0/nextjs-auth0.
What version fixes CVE-2025-67490?
Upgrading to 4.11.2, 4.12.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @auth0/nextjs-auth0 affected?
Yes, @auth0/nextjs-auth0 is affected in releases prior to 4.11.2, 4.12.1. Upgrade your dependency to 4.11.2, 4.12.1 or later.
What is the CVSS score of CVE-2025-67490?
CVE-2025-67490 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N.
What CWE is associated with CVE-2025-67490?
CVE-2025-67490 is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check npm dependencies for CVE-2025-67490?
Run the dependency tree command: 'npm ls @auth0/nextjs-auth0'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wcgj-f865-c7j7",
  "modified" : "2025-12-11T15:48:10Z",
  "published" : "2025-12-10T21:31:24Z",
  "aliases" : [ "CVE-2025-67490" ],
  "summary" : "Improper Request Caching Lookup in the Auth0 Next.js SDK",
  "details" : "### Description\nWhen using affected versions of the Next.js SDK, simultaneous requests on the same client may result in improper lookups in the TokenRequestCache for the request results.\n\n### Am I Affected?\nYou are affected if you meet the following preconditions:\n- Applications using the auth0/nextjs-auth0 SDK with a singleton client instance, versions 4.11.0, 4.11.1, and 4.12.0.\n\n### Affected product and versions\nAuth0/nextjs-auth0 v4.11.0, v4.11.1, and v4.12.0.\n\n### Resolution\nUpgrade Auth0/nextjs-auth0 version to v4.11.2 or v4.12.1\n\n### Acknowledgements\nOkta would like to thank Joshua Rogers (MegaManSec) for their discovery and responsible disclosure.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@auth0/nextjs-auth0"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.11.0"
      }, {
        "fixed" : "4.11.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@auth0/nextjs-auth0"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.12.0"
      }, {
        "fixed" : "4.12.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/auth0/nextjs-auth0/security/advisories/GHSA-wcgj-f865-c7j7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-67490"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/auth0/nextjs-auth0/commit/26cc8a7c60f4b134700912736f991a25bd6bbf0b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/auth0/nextjs-auth0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-10T21:31:24Z",
    "nvd_published_at" : "2025-12-10T23:15:48Z"
  }
}