CVE-2026-53721: Nuxt Route-Rule Middleware Bypass via Case-Sensitivity Mismatch
Nuxt, a popular Vue.js web framework, contains a middleware bypass vulnerability caused by inconsistent case-sensitivity handling between its router and route-rule matcher. An attacker can craft requests with different letter casing to bypass security middleware that should be protecting sensitive routes, potentially exposing functionality that was intended to be restricted. This affects Nuxt versions 3.11.0 through 3.21.6 and 4.0.0 through 4.4.6. Patches are available in versions 3.21.7 and 4.4.7.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.2 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Weaknesses (CWE)
- CWE-178, CWE-863
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-12 / 2026-06-17
NVD description (verbatim)
Nuxt is an open-source web development framework for Vue.js. From versions 3.11.0 to before 3.21.7 and 4.0.0 to before 4.4.7, there is a route-rule middleware bypass via case-sensitivity mismatch between vue-router and the routeRules matcher. This issue has been patched in versions 3.21.7 and 4.4.7.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability arises from a case-sensitivity mismatch in how Nuxt's vue-router component and its routeRules matcher process route paths. The routeRules configuration is designed to apply middleware, caching rules, and other protections to specific routes; however, when route paths are evaluated, one component treats them as case-sensitive while the other does not. An attacker can exploit this by submitting requests to the same logical route but with altered casing (e.g., /Admin vs. /admin), causing the routeRules matcher to fail to recognize and apply configured protections. This is categorized under CWE-178 (Improper Handling of Case Sensitivity) and CWE-863 (Incorrect Authorization), allowing potential information disclosure and partial integrity compromise.
Business impact
Organizations relying on Nuxt's routeRules to enforce authentication, authorization, rate-limiting, or caching for sensitive endpoints face a direct risk. An unauthorized actor could bypass intended access controls, potentially gaining access to administrative functions, user data, or internal APIs that should be restricted. The impact is heightened for multi-tenant applications where route-level middleware is the primary security boundary. Unpatched deployments may require immediate operational review to determine if route rules are being bypassed in production.
Affected systems
The vulnerability affects Nuxt framework versions 3.11.0 through 3.21.6 (inclusive) and 4.0.0 through 4.4.6 (inclusive). Any application built on these versions that relies on routeRules configuration for middleware, authentication, or authorization is potentially affected. Applications using earlier Nuxt 3 versions (before 3.11.0) and those already on patched versions (3.21.7+, 4.4.7+) are not impacted. Developers should verify their current Nuxt version against this range.
Exploitability
This vulnerability is straightforward to exploit and requires no special privileges or user interaction. An attacker with network access to the application can immediately attempt case-variation requests to bypass route rules. The CVSS score of 8.2 reflects the high exploitability (network-accessible, low complexity, no authentication required) and confidentiality impact, though integrity impact is partial and availability is unaffected. No known public exploits are currently tracked in the CISA Known Exploited Vulnerabilities (KEV) catalog, but the simplicity of the attack vector means exploitation in the wild is a realistic concern once the vulnerability becomes widely known.
Remediation
Upgrade Nuxt to version 3.21.7 or later if running the 3.x branch, or to version 4.4.7 or later if running the 4.x branch. After patching, test your application thoroughly to ensure routeRules are now enforced consistently regardless of request path casing. For organizations unable to patch immediately, implement a temporary mitigation at the reverse proxy or web server level (e.g., nginx or Apache) to normalize request paths to lowercase before they reach the Nuxt application, ensuring case-insensitive route matching upstream.
Patch guidance
1. Identify your current Nuxt version by checking package.json or running 'npm list nuxt'. 2. If version is between 3.11.0–3.21.6, update to 3.21.7 via 'npm update [email protected]'. 3. If version is between 4.0.0–4.4.6, update to 4.4.7 via 'npm update [email protected]'. 4. Regenerate your application build ('npm run build') after updating. 5. Conduct regression testing on all routes protected by routeRules to confirm middleware is enforced. 6. Deploy and monitor for any issues; the patch maintains backward compatibility with existing routeRules configurations. Verify exact patch availability against the official Nuxt release notes.
Detection guidance
Monitor web server and application logs for requests to sensitive routes with unusual casing patterns (e.g., /Admin, /ADMIN, /aDmIn vs. expected /admin). Inspect routeRules configurations in your nuxt.config file to identify which routes are intended to be protected. Conduct a baseline audit: test your protected routes by submitting requests with various case combinations to confirm they are now consistently blocked or properly authenticated. Application Performance Monitoring (APM) tools can help identify anomalous access patterns to sensitive endpoints. For defense-in-depth, consider adding a request logging middleware that normalizes paths before routing to catch any remaining edge cases.
Why prioritize this
This vulnerability merits immediate attention because: (1) it directly undermines route-level security controls in a framework used by numerous production web applications; (2) exploitation requires no authentication or special tools, just HTTP requests with different casing; (3) the CVSS score of 8.2 reflects significant confidentiality risk; (4) the ease of exploitation means attackers will likely attempt this once aware of the vulnerability; (5) the affected version range is relatively recent and likely in active use. Organizations should prioritize patching within 1–2 weeks to minimize exposure window.
Risk score, explained
The CVSS v3.1 score of 8.2 (HIGH severity) is justified by: (1) Attack Vector: Network—exploitation is remotely possible without special network access; (2) Attack Complexity: Low—no special conditions or timing are required; (3) Privileges Required: None—an unauthenticated attacker can attempt the bypass; (4) User Interaction: None—no user action is needed to trigger the vulnerability; (5) Confidentiality Impact: High—sensitive data protected by route rules becomes accessible; (6) Integrity Impact: Low—the attacker may be able to invoke restricted operations but not directly modify data; (7) Availability Impact: None—the vulnerability does not degrade service. The combination of trivial exploitability and high confidentiality risk drives the elevated score.
Frequently asked questions
Can this vulnerability be exploited without network access?
No. The vulnerability requires network access to the Nuxt application. An attacker must be able to send HTTP requests to the application to attempt case-variation bypasses. It cannot be exploited locally or through supply-chain mechanisms.
Do all Nuxt applications using routeRules need to patch immediately?
Yes, if your application version falls within the vulnerable ranges (3.11.0–3.21.6 or 4.0.0–4.4.6) and you use routeRules for authentication, authorization, or other security-critical middleware, patching should be prioritized. However, if your routeRules are only used for non-security purposes (e.g., cache headers), the business risk is lower but patching is still recommended.
Does case-normalization at the web server level fully mitigate this vulnerability?
Normalizing request paths to lowercase at a reverse proxy or web server layer before requests reach Nuxt can reduce the window of exploitation while you prepare to patch. However, this is a temporary measure and may not account for all edge cases. Always apply the official patch to properly resolve the root cause.
Will patching require changes to my routeRules configuration?
No. The patch maintains backward compatibility. Your existing routeRules configurations will continue to work as intended, but now with correct case-sensitivity enforcement. Test after patching to confirm expected behavior, but no configuration modifications should be necessary.
This analysis is provided for informational purposes to assist security professionals in understanding and managing CVE-2026-53721. The information herein is based on publicly available vulnerability data and official vendor advisories. SEC.co makes no warranty regarding the completeness or accuracy of version-specific patch details; always verify patch availability and applicability against official Nuxt release notes and your specific deployment configuration. Security decisions should be made in consultation with your internal security team and risk management policies. This document does not constitute legal, compliance, or official security guidance. Exploiting vulnerabilities against systems you do not own or have authorization to test is illegal. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2016-20075HIGHWordPress Ultimate Product Catalog 3.8.6 Arbitrary File Upload (CVSS 8.8)
- CVE-2025-14774HIGHABB T-MAC Plus Denial-of-Service Vulnerability (CVSS 7.4)
- CVE-2025-32348HIGHAndroid Local Privilege Escalation via Missing Permission Check
- CVE-2026-0272HIGHPalo Alto PAN-OS Privilege Escalation Vulnerability (PA-Series, VM-Series, Panorama)
- CVE-2026-21031HIGHAppBlock Authorization Flaw in Samsung Android—Risk & Patch Guidance
- CVE-2026-24724HIGHQNAP File Station 6 Authorization Bypass (CVSS 8.1)
- CVE-2026-3514HIGHPrefect 3.6.19 Authentication Bypass via Health Check Exemptions
- CVE-2026-35482HIGHalf.io Sandbox Escape Allows Admin Command Execution