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-114131

CVE-2026-114131: Nuxt Route Rules appMiddleware Bypass via Percent-Encoded Route Segments

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 23, 2026·5 min read·13 visits

Executive Summary (TL;DR)

An interpretation conflict in Nuxt allows unauthenticated users to bypass route rules and appMiddleware by sending percent-encoded URLs, leading to unauthorized access to server-side rendered page content.

Nuxt versions 3.11.0 through 3.21.3 and 4.0.0 through 4.4.3 contain an interpretation conflict between the route rules matching engine and the core page routing mechanism. By submitting percent-encoded request path segments, unauthenticated attackers can bypass route rules, including appMiddleware authorization guards, and access rendered server-side page payloads.

Vulnerability Overview

Nuxt is an open-source web development framework built on top of Vue.js, facilitating server-side rendering (SSR), static site generation, and route-based server configurations. The framework allows developers to define routeRules in nuxt.config.ts or page metadata. These rules configure server behaviors such as appMiddleware, redirect, appLayout, ssr, and caching strategies for specific endpoint patterns.

An interpretation conflict exists between Nuxt's routeRules lookup engine and its core page router. Affected versions compare incoming requests against configured routeRules using the raw, percent-encoded URI string. Conversely, the underlying Vue page router decodes route parameters prior to executing route matching and rendering page handlers.

When an HTTP request contains percent-encoded characters in path segments, the routeRules engine fails to match the unencoded rule keys registered in the application configuration. Consequently, attached middleware—such as authentication or authorization checks—is skipped, while the page router successfully decodes the path and renders the protected resource payload.

Root Cause Analysis

The vulnerability stems from inconsistent URL path normalization across different architectural layers of the framework. Route rules declared in the application configuration or page metadata are indexed into a compiled matcher instance in unencoded UTF-8 format (for example, /route-rules/admin or /route-rules/测试).

When an incoming HTTP request is processed, the runtime lookup generated in #build/route-rules.mjs evaluated the raw, raw-encoded path argument (path). If an attacker sends a request using percent-encoding—such as /route-rules/%61dmin or /route-rules/%E6%B5%8B%E8%AF%95—the literal string comparison inside the lookup matcher fails to identify the entry.

Because the lookup returns an empty rule set, security controls such as appMiddleware guards are omitted. Immediately following this lookup, the Nuxt core page router processes the request, unescapes the path parameters, matches the target file-system page component, and executes server-side rendering without enforcing the intended route rules.

Code Analysis

To resolve this issue, Nuxt implemented path normalization functions (decodeRoutePath and normalizeRouteRulePath) that decode percent-encoded sequences prior to route rule indexing and runtime matching.

The remediation introduces decodeRoutePath in packages/nuxt/src/core/utils/index.ts to decode non-reserved characters while preserving query parameters and avoiding double-decoding risks:

export function decodeRoutePath (path: string) {
  if (!path.includes('%')) { return path }
  const queryIndex = path.indexOf('?')
  const pathname = queryIndex === -1 ? path : path.slice(0, queryIndex)
  try {
    return queryIndex === -1 ? decodeURI(pathname) : decodeURI(pathname) + path.slice(queryIndex)
  } catch {
    return path
  }
}

The helper normalizeRouteRulePath in packages/nuxt/src/core/utils/route-rules.ts handles case-folding and unescaping uniform keys:

export function normalizeRouteRulePath (path: string, fold: boolean): string {
  const decoded = decodeRoutePath(path)
  return fold ? decoded.toLowerCase() : decoded
}

In addition, the server generator in packages/nitro-server/src/index.ts was updated to inject string normalization into the runtime lookup function, ensuring raw request strings are normalized before rule querying.

Exploitation & Methodology

Exploitation requires no authentication or specialized tooling. An attacker targets an endpoint protected by a route rule configured with appMiddleware (for example, a route rule protecting /admin with an auth middleware guard).

Instead of requesting GET /admin, the attacker encodes one or more characters within the path string, submitting GET /%61dmin or GET /admi%6e. The request arrives at the server where the unpatched routeRules matcher compares /%61dmin against /admin. The matcher fails to locate a matching rule key, evaluating the rule set to empty.

The request is then passed to the page router. The router decodes /%61dmin to /admin, resolves the corresponding page component (pages/admin.vue), and executes server-side rendering. The resulting SSR HTML output and inline data payload are returned to the unauthenticated requester, bypassing the authorization check entirely.

Impact Assessment

The CVSS v3.1 score for this vulnerability is 6.5 (Medium). The primary impact is a partial loss of confidentiality and integrity due to unauthorized access to gated SSR page content and state payloads.

Because the route rule bypass affects auxiliary flags—such as redirect, appLayout, ssr, prerender, and caching behaviors—applications relying on global route rules for security enforcement or conditional page delivery are vulnerable to data leakage.

This vulnerability does not directly grant arbitrary code execution or write permissions on the underlying server filesystem. However, sensitive information rendered in SSR payloads (such as user profile data, administrative UI layouts, or internal API responses) can be accessed by unauthorized entities.

Remediation & Defense-in-Depth

To remediate CVE-2026-114131, organizations should upgrade nuxt to version 3.21.4 (or patch release v3.21.11 / v4.5.2) for 3.x deployments, or 4.4.4 for 4.x deployments.

If immediate framework updates are not possible, reverse proxies or Web Application Firewalls (WAF) should be configured to normalize percent-encoded path sequences prior to forwarding HTTP requests to the upstream Nuxt server.

As a defense-in-depth practice, critical authorization logic should be implemented directly within individual page component guards, server middleware (server/middleware/), or API route handlers (server/api/), rather than relying solely on global routeRules configuration entries.

Official Patches

nuxtFix commit implementing route path decoding
nuxtNuxt v3.21.11 release notes
nuxtNuxt v4.5.2 release notes

Fix Analysis (2)

Technical Appendix

CVSS Score
6.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS Probability
0.29%
Top 80% most exploited

Affected Systems

Nuxt 3.x deployments (versions >= 3.11.0 and < 3.21.4)Nuxt 4.x deployments (versions >= 4.0.0 and < 4.4.4)Web applications relying on routeRules appMiddleware for authentication guards

Affected Versions Detail

Product
Affected Versions
Fixed Version
nuxt
nuxt
>= 3.11.0, < 3.21.43.21.4
nuxt
nuxt
>= 4.0.0, < 4.4.44.4.4
AttributeDetail
CWE IDCWE-436 / CWE-863
Attack VectorNetwork (Unauthenticated)
CVSS v3.1 Score6.5 (Medium)
EPSS Score0.00289 (~20th percentile)
ImpactMiddleware Bypass / SSR Data Confidentiality Loss
Exploit StatusProof-of-Concept Available
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-436
Interpretation Conflict

The software processes the same input in different contexts using different interpretations, allowing security controls to be bypassed.

Known Exploits & Detection

GitHub Security AdvisorySecurity advisory detailing percent-encoded route segment routeRules bypass.

References & Sources

  • [1]GitHub Security Advisory GHSA-6gq8-jgmh-3ffp
  • [2]NVD Vulnerability Details CVE-2026-114131
  • [3]Nuxt Patch Commit 81f86ac
  • [4]Nuxt Test Commit 9123ed8

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

•23 minutes ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 1 hour 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
3 views•10 min read
•about 2 hours 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
4 views•10 min read
•about 3 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
5 views•9 min read
•about 4 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 5 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