Skip to main content
← Vulnerabilities

Nuxt 4.6.0 before 4.6.2 Route Param Confusion via getRouterParam

Only affects Nuxt 4.6.0 before 4.6.2 apps that read the same route param from two sources and rely on them agreeing. Fixed in Nuxt 4.6.2.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

6.3MediumCNA
Exploited
No known exploitation
Fix
Fixed in 4.6.2
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 4.6.2.

Published
Last modified
Published
Not listed in CISA KEV
13/100 · provisional
Unclear
Fix
Fixed in 4.6.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Nuxt versions from 4.6.0 up to (but not including) 4.6.2 are affected. An attacker can send a crafted request with an encoded question mark in the path so that a route parameter read by Nuxt's getRouterParam or getRouterParams helpers differs from the one h3 matched, which can let them bypass authorization checks and access resources they should not be able to reach.

Read the original description

Nuxt from 4.6.0 before 4.6.2 contains a route parameter confusion vulnerability in getRouterParam and getRouterParams that lets attackers return a parameter value different from the one h3 matched by sending paths containing an encoded question mark (%3F). Attackers can craft requests where authorization checks use the Nuxt helper value while resource selection uses event.context.params, allowing access to unauthorized resources.

What to do

  • Upgrade to a fixed version: 4.6.2.

  • Workaround: Read a route param from a single source for both the check and the lookup.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • nuxt nuxt

    From 4.6.0 · fixed in 4.6.2

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-120309

What does this mean?

When a path segment contains an encoded question mark (%3F), a request can pass an authorization check for one resource and then act on a different resource, which gives access to resources it should not reach.Source: github.com

Am I affected, and how do I check?

Affected versions are Nuxt 4.6.0 up to but not including 4.6.2, in the nuxt and @nuxt/nitro-server packages. The setup also needs code that reads the same route param from two sources, such as the Nuxt helper and event.context.params, and relies on them agreeing. To check, look at the nuxt version in package.json or the lockfile, and search the code for places that read the same route param in two ways.Source: github.com

What should I do about it?

Upgrade nuxt to 4.6.2 or later. Until then, read each route param from a single source for both the check and the lookup.Source: github.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data