CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-114132

CVE-2026-114132: Case-Sensitivity Route Rule Bypass in Nuxt Framework

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 23, 2026·6 min read·22 visits

Executive Summary (TL;DR)

A case-sensitivity mismatch between Nitro server route rules and the Nuxt Vue page router allows attackers to bypass security headers, redirects, and proxy rules by requesting paths with altered casing (e.g., `/Admin/secret` instead of `/admin/secret`).

Nuxt versions prior to 4.6.2 suffer from a route rule bypass vulnerability caused by an architectural mismatch in case-sensitivity handling between the Nitro server runtime and the Vue page router. An unauthenticated remote attacker can bypass server-enforced route directives—such as redirects, security headers, and SSR controls—by altering character casing in HTTP request paths.

Vulnerability Overview

Nuxt is an open-source web development framework built on Vue.js that utilizes Nitro as its underlying server engine. In Nuxt applications, administrators define server-side operational behaviors using the routeRules configuration object within nuxt.config.ts. These rules govern server-level features including HTTP redirects, security header injections, proxy forwarding, rendering mode toggles (ssr: false), and script execution restrictions (noScripts).

The framework exposes an operational mismatch between client-side routing resolution and server-side request evaluation. By default, Nuxt configures client-side page routing with case-insensitive path matching (router.options.sensitive: false). Under this configuration, an incoming request for /Admin/secret resolves to the same Vue page component as /admin/secret.

Prior to version 4.6.2, Nitro evaluated server-side routeRules strictly against the raw case-sensitive path string provided in the HTTP request line. When an HTTP request contained character casing that differed from the rule definitions in nuxt.config.ts, Nitro failed to match the defined route rule and returned an empty directive set. Consequently, the request bypassed server-side protections while successfully rendering the underlying page component.

Root Cause Analysis

The fundamental flaw lies in inconsistent path normalization across the architectural boundary separating Nitro's server router and Nuxt's page router. Classified under CWE-178 (Improper Handling of Case Sensitivity) and CWE-863 (Incorrect Authorization), the vulnerability occurs because Nitro's internal router matched request paths literally without applying case-folding transformations when router.options.sensitive was disabled.

Consider a scenario where an application configures a security restriction or redirect rule in nuxt.config.ts:

export default defineNuxtConfig({
  routeRules: {
    '/admin/**': { redirect: { to: '/login', statusCode: 307 } },
    '/docs': { headers: { 'x-docs-security': '1' } },
    '/app/spa': { ssr: false }
  }
})

When a client issues an HTTP request for GET /Admin/dashboard, Nitro's request handler invokes getRouteRules(event). The matcher evaluates /Admin/dashboard against the stored key /admin/**. Because of the exact-match requirement in the radix tree comparison, the lookup fails to identify the rule and returns {}.

Following rule evaluation, the execution pipeline hands off request processing to the Vue page renderer. The client-side page router evaluates /Admin/dashboard, normalizes the route path case-insensitively, and renders app/pages/admin/dashboard.vue. The client receives the response without the enforcement of the intended redirect or security headers.

Code Analysis & Patch Review

Security fix f6cfee52cf9576ddc4f4ee83b486969328b358f8 by Daniel Roe addresses the discrepancy by introducing unified case normalization in Nitro's server runtime.

The fix introduces a dedicated server plugin (packages/nitro-server/src/runtime/plugins/route-rules.ts) and a normalized matching utility (packages/nitro-server/src/runtime/utils/route-rules.ts). The new implementation case-folds both configured keys and runtime HTTP path strings unless router.options.sensitive is explicitly enabled.

import { defu } from 'defu'
import type { H3Event } from 'h3'
import { useRuntimeConfig } from 'nitropack/runtime'
import type { NitroRouteRules } from 'nitropack/types'
import { createRouter, toRouteMatcher } from 'radix3'
import type { RouteMatcher } from 'radix3'
import { withoutBase } from 'ufo'
 
import { normalizeRouteRulePath } from '#internal/nuxt/route-rules.mjs'
 
let matcher: RouteMatcher | undefined
 
function getMatcher (): RouteMatcher {
  if (!matcher) {
    const routes: Record<string, NitroRouteRules> = {}
    // Normalize each configured route key according to router sensitivity options
    for (const [route, rules] of Object.entries(useRuntimeConfig().nitro?.routeRules || {})) {
      routes[normalizeRouteRulePath(route)] = rules as NitroRouteRules
    }
    matcher = toRouteMatcher(createRouter({ routes }))
  }
  return matcher
}
 
export function matchRouteRules (path: string): NitroRouteRules {
  // Normalize incoming request path prior to radix tree lookup
  return defu({}, ...getMatcher().matchAll(normalizeRouteRulePath(path)).reverse()) as NitroRouteRules
}

The fix ensures that normalizeRouteRulePath converts all route rule paths and incoming URL targets to lowercase when case-sensitivity is turned off, ensuring parity between server processing and page rendering.

Exploitation Methodology & Proof of Concept

Exploiting CVE-2026-114132 requires no authentication or specialized payload construction. An attacker only needs network access to an affected Nuxt server where security-relevant logic is delegated to routeRules.

Consider an deployment where administrative pages reside under /admin/**, protected by a redirect rule pointing unauthenticated traffic to /login:

# Standard request: Redirect rule triggers as intended
curl -i http://target-app.local/admin/dashboard
HTTP/1.1 307 Temporary Redirect
Location: /login
 
# Exploitation request: Bypasses server redirect rule, renders page
curl -i http://target-app.local/Admin/dashboard
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
 
<!-- Rendered administrative dashboard page content -->

The operational consequences vary based on the specific directive bypassed:

  1. Redirect Bypass: Bypasses global authentication or maintenance redirects configured via routeRules.
  2. Security Header Bypass: Strips security headers such as Content-Security-Policy, X-Frame-Options, or custom authorization headers defined under specific path prefixes.
  3. SSR Control Bypass: Forces Server-Side Rendering on paths intended to run strictly as Single Page Applications (ssr: false), causing unexpected server CPU load or memory usage.

Impact Assessment & Vector Analysis

The technical impact of CVE-2026-114132 is categorized as moderate integrity and confidentiality loss (CVSS v4.0 Score: 6.3). The CVSS vector is CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N.

The vulnerability does not grant arbitrary code execution or direct file system access. Instead, it degrades security controls that rely exclusively on server-side path rules. If application security relies on routeRules for access control or header-based security policies, those policies can be silently subverted.

> [!NOTE] > Access control checks implemented within custom middleware (server/middleware/), page middleware (defineNuxtRouteMiddleware), or component data fetching methods (useAsyncData / useFetch) process paths independently and are not vulnerable to this bypass.

Remediation & Mitigation Guidance

The primary remediation for CVE-2026-114132 is updating the nuxt dependency to version 4.6.2 or higher in the project root.

# Upgrade via pnpm
pnpm update nuxt@^4.6.2
 
# Upgrade via npm
npm install nuxt@^4.6.2
 
# Upgrade via yarn
yarn add nuxt@^4.6.2

If immediate dependency upgrades are not possible, administrators can apply a temporary workaround in nuxt.config.ts by explicitly enabling case-sensitive routing:

// nuxt.config.ts
export default defineNuxtConfig({
  router: {
    options: {
      sensitive: true
    }
  }
})

> [!IMPORTANT] > Configuring sensitive: true inside app/router.options.ts is insufficient to patch this vulnerability. The Nitro server engine reads the configuration directly from nuxt.config.ts during build time.

Official Patches

NuxtNuxt v4.6.2 Release Notes
GitHub Security AdvisoryGHSA-vjh5-4x84-xrqp Security Advisory

Fix Analysis (1)

Technical Appendix

CVSS Score
6.3/ 10
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS Probability
0.31%
Top 77% most exploited

Affected Systems

Nuxt Framework (npm package `nuxt` versions >= 4.1.3 and < 4.6.2)

Affected Versions Detail

Product
Affected Versions
Fixed Version
nuxt
nuxt
>= 4.1.3, < 4.6.24.6.2
AttributeDetail
CWE IDCWE-178 / CWE-863
CVSS v4.0 VectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score6.3 (Medium)
EPSS Score0.00314 (23.05th percentile)
Attack VectorNetwork (Unauthenticated HTTP)
Exploit StatusProof of Concept in Fix Commit
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-178
Improper Handling of Case Sensitivity

The software does not correctly handle case sensitivity when processing user input, leading to unexpected behavior or security rule bypasses.

Known Exploits & Detection

GitHub Fix Commit Test SuiteIntegration test validating routeRules case-sensitivity normalization across URL path variations.

Vulnerability Timeline

Security patch committed to Nuxt repository by Daniel Roe.
2026-10-15
Nuxt version 4.6.2 officially released.
2026-10-21
GitHub Security Advisory GHSA-vjh5-4x84-xrqp published.
2026-10-21
CVE-2026-114132 published to CVE / NVD databases.
2026-10-21

References & Sources

  • [1]GitHub Security Advisory GHSA-vjh5-4x84-xrqp
  • [2]Nuxt Fix Commit f6cfee52cf9576ddc4f4ee83b486969328b358f8
  • [3]Nuxt v4.6.2 Release
  • [4]CVE.org Record CVE-2026-114132
  • [5]NVD CVE-2026-114132 Detail

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•13 minutes ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
0 views•10 min read
•about 1 hour ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
2 views•10 min read
•about 2 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
4 views•9 min read
•about 3 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 4 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read
•about 5 hours ago•CVE-2026-128068
5.3

CVE-2026-128068: Regular Expression Denial of Service in rails-html-sanitizer

CVE-2026-128068 (GHSA-cpgf-5mjf-73p7) is a Regular Expression Denial of Service (ReDoS) vulnerability in the rails-html-sanitizer Ruby gem affecting versions 1.0.3 through 1.7.1. The flaw resides in the Rails::HTML::PermitScrubber#scrub_attribute method, which uses the multiline regular expression /^\s*[^#\s].*/m to enforce local-only URI fragment references on SVG elements. On Ruby runtimes prior to version 3.2 (CRuby <= 3.1 and JRuby), evaluating an attribute value composed of repeated newline and whitespace characters without a hash character triggers quadratic backtracking O(n^2). Applications are only vulnerable if their sanitization allowlist is explicitly configured to permit SVG reference elements such as <use> alongside href or xlink:href attributes.

Alon Barad
Alon Barad
6 views•9 min read