Skip to content

CVE-2026-114132 Nuxt: Server-side route rules (`redirect`, `headers`, `proxy`, `ssr`) are skipped for case-variant paths when routing is case-insensitive

MediumCVSS 6.3 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Nuxt is an open-source web development framework for Vue.js. Prior to 4.6.2, Nuxt resolves pages case-insensitively by default while Nitro matches server-side route-rule keys case-sensitively, allowing a request whose path differs only by letter case to render without the server rule intended for that page. The mismatch can skip redirect, headers, proxy, ssr: false, and noScripts, and can cause getRouteRules(event) and matchRouteRules to return no rule for the case variant. Applications that set router.options.sensitive: true in nuxt.config are not affected; setting sensitive only in app/router.options.ts does not establish this exclusion because the server follows the nuxt.config value. Access checks implemented in server middleware, page route middleware, or page data fetching remain independent of this matcher. This issue is fixed in version 4.6.2.

Upgrade path

3 packages: 0 fixed, 2 partially fixed.

PackageAffectedFixed inStatus
npm nuxt(npm) >= 3.0.0; >= 3.0.0, < 4.0.0; >= 4.0.0, < 4.6.2 4.0.0, 4.6.2 Partially fixed
nuxt nitro-server(npm) >= 3.20.0; >= 3.20.0, < 4.0.0; >= 4.2.0, < 4.6.2 4.0.0, 4.6.2 Partially fixed
nuxt = < 4.6.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nuxt = < 4.6.2 No fix listed
npm nuxt(npm) >= 4.0.0, < 4.6.2 4.6.2
npm nuxt(npm) >= 3.0.0, < 4.0.0 4.0.0
nuxt nitro-server(npm) >= 4.2.0, < 4.6.2 4.6.2
nuxt nitro-server(npm) >= 3.20.0, < 4.0.0 4.0.0
npm nuxt(npm) >= 3.0.0 No fix listed
nuxt nitro-server(npm) >= 3.20.0 No fix listed

References