Vulnerability library
Security checkJune 09, 2026

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

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

Medium severitynpmnitro

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 nitro package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.0.260429-beta
  • Patched version(s): 3.0.260429-beta

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 - nitro and gives you actionable findings to investigate.

Start a free scan

Related Issues

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