Vulnerability library
Security checkMay 14, 2026

Nitro has a proxy scope bypass via percent-encoded path traversal in `routeRules`

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

Medium severitynpmnitropack

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A proxy route rule like:

is intended to limit the proxy to URLs under /api/orders/. Before the patch, an attacker could bypass that scope by sending percent-encoded path traversal (..%2f) in the URL, causing Nitro to forward a request that the upstream resolved outside the configured scope. Example exploit:

Nitro sees ..%2f as opaque characters at match time, the /api/orders/** rule matched, and the raw path was forwarded to the upstream as /orders/..%2fadmin/config.json.

Recommendation

Update the nitropack package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.13.4
  • Patched version(s): 2.13.4

References

Could your website be exposed too?

SmartScanner can check your website for Nitro has a proxy scope bypass via percent-encoded path traversal in `routeRules` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 14, 2026