CVE-2026-71315: Nuxt Route Rules Case Sensitivity Vulnerability Leading to Authorization Bypass

nuxt Updated 06 Aug 2026

Summary

05/08/2026
Yes i
High
8.2

CVE-2026-71315: Impact Nuxt matches route rules case-insensitively by default (mirroring vue-router's default sensitive: false routing). Affects nuxt across 2 version ranges.

>= 3.21.7, < 3.21.10 >= 4.4.7, < 4.5.1

Fixed in 3.21.10 or 4.5.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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Nuxt is a popular framework built on Vue.js that enables developers to create server-rendered applications with ease. It provides features such as automatic routing, server-side rendering, and a powerful plugin system. However, Nuxt's default behavior of case-insensitive route matching can lead to vulnerabilities if not properly managed, particularly in scenarios involving authorization and middleware protections.

Vulnerability Detail

The vulnerability arises from Nuxt's handling of route rules, which are matched case-insensitively by default. While a previous fix attempted to address this issue by lowercasing the lookup path, it failed to account for the mixed-case keys of route rules. As a result, route rules with uppercase characters do not match, leading to potential authorization bypasses. For instance, an appMiddleware rule intended to protect certain routes can be circumvented, allowing unauthorized users to access restricted pages. This flaw compromises the security of the application, exposing sensitive data and functionalities to unauthenticated visitors.

How To Fix

Latest published version: 4.6.2 as of 22 Oct 2026

npm install nuxt@4.6.2

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • >= 3.21.7, < 3.21.10 3.21.10
    npm install nuxt@3.21.10
  • >= 4.4.7, < 4.5.1 4.5.1
    npm install nuxt@4.5.1

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

Workaround

If immediate upgrading is not possible, consider the following workarounds:

  1. Key all routeRules and name your page files in lowercase to match the folded lookup path.
  2. Configure the router to be case-sensitive by adding the following to your nuxt.config.js: router: { options: { sensitive: true } }
  3. Implement server-side middleware that checks authorization independently of route rules.

Conclusion

In summary, the vulnerability CVE-2026-71315 in Nuxt allows for case-insensitive route matching that can lead to authorization bypasses. It is crucial for developers to update to the latest patched versions or implement workarounds to secure their applications against unauthorized access.

See every vulnerability recorded for nuxt →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.2, indicating a high severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.

The main consequence is an authorization bypass, allowing unauthorized users to access protected pages and their data.

Yes, you can implement workarounds such as using lowercase keys for routeRules or enforcing case-sensitive routing.

The patched versions are nuxt@4.5.1 for the 4.x series and nuxt@3.21.10 for the 3.x series.

Related vulnerabilities

Recent vulnerabilities recorded for nuxt.

How To Fix

Latest published version: 4.6.2 as of 22 Oct 2026

npm install nuxt@4.6.2

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • >= 3.21.7, < 3.21.10 3.21.10
    npm install nuxt@3.21.10
  • >= 4.4.7, < 4.5.1 4.5.1
    npm install nuxt@4.5.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