Vulnerability library
Security checkJune 09, 2026

Nitro has an Open Redirect via Protocol-Relative URL Bypass in Wildcard Route Rules

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 redirect route rule like:

is intended to rewrite paths within the same host. Before the patch, an attacker could turn the rewrite into a cross-host redirect by sliding an extra slash in after the rule prefix. Example exploit:

Nitro stripped /legacy from the matched pathname and joined the remainder against the rule’s target.

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 an Open Redirect via Protocol-Relative URL Bypass in Wildcard Route Rules and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 09, 2026