MEDIUMCVSS v3.1 6.5Vulnerability

CVE-2026-114131

### Summary Nuxt compared `routeRules` keys against the raw request path, without decoding percent-encoding, while the router decodes parameters when it resolves a route. A request whose path is percent-encoded can therefore resolve to a page while failing to match the route rule meant to protect it, so the rule's `appMiddleware` never runs, including during server rendering. ### Impact For a page served through a dynamic or catch-all route, an attacker can percent-encode a character in the path to skip the rule: ```ts export default defineNuxtConfig({ routeRules: { '/users/admin': { appMiddleware: 'auth' }, }, }) ``` Requesting `/users/%61dmin` still renders `app/pages/users/[id].vue` with `id` decoded to `admin`, but the rule keyed `/users/admin` does not match, so `auth` does not run and the server renders and returns the gated page to an unauthenticated visitor. No privileges and no user interaction are required, and only ASCII characters are involved. Purely static ASCII routes are not affected: static segments are matched without decoding, so a request for `/%61dmin` does not resolve to the page registered at `/admin` and 404s instead of rendering. The rule keys affected are the ones carried in the app manifest and consumed by the app: `appMiddleware`, `redirect`, `appLayout`, `ssr`, `prerender`, and the payload flags derived from `cache`, `isr` and `swr`. If you have pinned or overridden dependency versions below what your Nuxt release declares, a release outside the affected ranges can still be exposed, so do not conclude from a single reproduction that you are unaffected. ### Patches Releases from `4.4.4` and `3.21.4` are not affected, because their dependency floor requires a version of the underlying HTTP layer that normalises percent-encoding in the request path before routing, which removes the mismatch in a default install. The comparison itself is fixed in `[email protected]` and `[email protected]`: route-rule keys and lookup paths are now dec

Properties

Severity
medium
Summary
Nuxt: Route rules are matched against the raw request path, so a percent-encoded segment can bypass `appMiddleware` on dynamic and catch-all routes
Nvd fetched at
2026-10-23T02:14:06.697318+00:00
Epss score
0.00289
Cvss severity
MEDIUM
Cvss score
6.5
Retrieved at
2026-10-23T02:20:34+00:00
Ghsa published
2026-10-22T16:50:53Z
Source url
https://github.com/advisories/GHSA-6gq8-jgmh-3ffp
Ghsa updated
2026-10-22T16:50:54Z
Ghsa id
GHSA-6gq8-jgmh-3ffp
Last source
GitHub Advisory Database
Score
6.5
Cvss version
3.1
Cve id
CVE-2026-114131
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
First seen by Signal
2026-10-21T22:34:38+00:00
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Published at
2026-10-21T18:17:25.957

Related Entities (4)

HAS_WEAKNESS (2)

AFFECTS (1)

→[Software]npm/nuxt

VULNERABLE_TO (1)

←[Software]npm/nuxt

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-114131 (CVSS v3.1 6.5) — Ninja Signal Threat Intelligence | Ninja Signal