Vulnerability library
Security checkOctober 30, 2026

Nuxt: Dot segments in the request path bypass `server/middleware` path checks and server route rules on page routes

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@nuxt/nitro-server

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Since 4.6.0, Nuxt resolves . and .. segments in the request path, including percent-encoded forms such as %2e, before rendering a page. Nitro’s routing, Nitro’s route rules and server/middleware see the path with those segments still in place.

Recommendation

Update the @nuxt/nitro-server package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 4.6.0, < 4.6.3
  • Patched version(s): 4.6.3

References

Could your website be exposed too?

SmartScanner can check your website for Nuxt: Dot segments in the request path bypass `server/middleware` path checks and server route rules on page routes and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 30, 2026