Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Medium · 6.3 Node.js & npm CVE-2026-114132 GHSA-vjh5-4x84-xrqp

Nuxt Fixes Case-Sensitivity Flaw That Can Bypass Server-Side Route Rules

Nuxt versions before 4.6.2 resolve pages case-insensitively while the server-side route matcher checks case-sensitively, allowing requests with a different letter case to skip configured redirect, headers, proxy, and ssr route rules.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 3 sources · updated 1 week ago

AI summary

A vulnerability in the Nuxt web framework has been fixed that allowed requests to pages with a different letter case in the URL path to bypass server-side route rules. Because Nuxt's page resolution is case-insensitive by default while the underlying server matcher is case-sensitive, rules such as redirects, custom headers, proxying, and disabling server-side rendering could silently fail to apply for case-variant paths. The issue is tracked as CVE-2026-114132 and is fixed in Nuxt 4.6.2.

What happened

Nuxt resolves page routes case-insensitively by default, meaning a path like /Dashboard and /dashboard are treated as the same page for rendering purposes. However, the underlying server-side route-rule matcher (Nitro) matches route-rule keys case-sensitively. This mismatch means that a request for a case-variant path can render the intended page while skipping the server-side rule meant to apply to it. Affected rules include redirect, headers, proxy, ssr: false, and noScripts. Functions that look up applicable rules, getRouteRules(event) and matchRouteRules, can also return no rule at all for the case-variant path.

Technical cause

The root cause is an inconsistency in how case sensitivity is handled between Nuxt's page router and its server-side route-rule matcher. Applications that explicitly set router.options.sensitive: true in nuxt.config are not affected, because this setting enforces case-sensitive matching consistently. Setting sensitive only in app/router.options.ts does not provide this protection, since the server-side matcher follows the value configured in nuxt.config rather than the client-side router options file. This is classified as CWE-178, Improper Handling of Case Sensitivity.

Why it matters

Site operators often rely on server-side route rules to redirect deprecated URLs, inject security or caching headers, proxy requests, or disable server-side rendering for specific pages. If a request uses a different letter case than expected, none of these protections or behaviors may be applied, even though the page itself still renders. This can lead to missing security headers, failed redirects, or unintended server-side rendering on paths that were meant to be excluded from it. The advisory specifies that access checks implemented in server middleware, page route middleware, or page data fetching are independent of this matcher and are not affected by this issue.

Affected versions

The nuxt package is affected from version 3.0.0 up to, but not including, version 4.0.0, and again from version 4.0.0 up to, but not including, the fixed version 4.6.2. The @nuxt/nitro-server package is affected from version 3.20.0 up to, but not including, version 4.0.0, and again from version 4.2.0 up to, but not including, version 4.6.2. Both packages are fixed in version 4.6.2.

Fixes and mitigation

The issue is fixed in Nuxt version 4.6.2. As a configuration-level mitigation, applications can set router.options.sensitive: true directly in nuxt.config, which restores consistent case-sensitive matching across both the page router and the server-side route-rule matcher. Note that setting this option only in app/router.options.ts does not provide the same protection, since the server-side matcher reads its configuration from nuxt.config.

Recommended action

Update nuxt and, where used directly, @nuxt/nitro-server to version 4.6.2 or later. If immediate updating is not possible, set router.options.sensitive: true in nuxt.config as an interim mitigation and verify that this does not break any intentional case-insensitive routing behavior in your application. Review any server-side route rules you rely on for security purposes, such as header injection or access redirects, to confirm they are applied consistently regardless of URL case.

PatchBriefing score

6.3 / 10 · Medium

Official CVSS: 6.3

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 0.0052 (38 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

nuxt >= 3.0.0, < 4.0.0
vulnerable
nuxt ≥ 3.0.0
vulnerable
≥ 4.0.0
patched
≥ 4.6.2
patched
@nuxt/nitro-server >= 3.20.0, < 4.0.0
vulnerable
@nuxt/nitro-server ≥ 3.20.0
vulnerable
≥ 4.0.0
patched
≥ 4.6.2
patched

Reported fixes

The issue is fixed in Nuxt version 4.6.2. As a configuration-level mitigation, applications can set router.options.sensitive: true directly in nuxt.config, which restores consistent case-sensitive matching across both the page router and the server-side route-rule matcher. Note that setting this option only in app/router.options.ts does not provide the same protection, since the server-side matcher reads its configuration from nuxt.config.

How this was built

3 source records were collected, matched and used to prepare the report above.

  • NVD (NIST) database
  • GitHub Advisory Database database
  • OSV.dev database
Unified report
Nuxt Fixes Case-Sensitivity Flaw That Can Bypass Server-Side Route Rules
1 article · 3 sources cited
Revision history
  1. Published
  2. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email