# CVE-2026-44372: Nitro: Open Redirect via Protocol-Relative URL Bypass in Wildcard Route Rules

> Attackers can bypass redirect rules to redirect users to malicious external sites via protocol-relative URLs in Nitro server toolkit.

- **Severity:** Medium 5.3 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 13 May 2026
- **Updated:** 14 May 2026
- **Also known as:** GHSA-9phm-9p8f-hw5m

## What is CVE-2026-44372?

CVE-2026-44372 is a medium-severity vulnerability in nitrojs nitro, published on 13 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Nitro is a next generation server toolkit. Prior to 3.0.260429-beta, an attacker could turn a redirect route rule using wildcards rewrite into a cross-host redirect by sliding an extra slash in after the rule prefix. This vulnerability is fixed in 3.0.260429-beta.

Weakness: CWE-601 (URL Redirection to Untrusted Site)

## Which versions are affected by CVE-2026-44372?

4 open source packages ship an affected version, including nitro and nitropack. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `nitro` | npm | All versions | 3.0.260429-beta |
| `nitro` | npm | All versions | 3.0.260429-beta |
| `nitropack` | npm | All versions | 2.13.4 |
| `nitropack` | npm | All versions | 2.13.4 |

Products: Nitro Nitro.

## How do I fix CVE-2026-44372?

Upgrade nitro to 3.0.260429-beta or later.

## Is CVE-2026-44372 being exploited?

There is no known exploitation of CVE-2026-44372 in the wild and no public exploit code.

## Other vulnerabilities in nitrojs nitro

- [CVE-2026-44373](https://insights.sbomify.com/CVE-2026-44373/): Nitro: Proxy scope bypass via percent-encoded path traversal in `routeRules` (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-44372 and fix it if it is affected.

What it is: CVE-2026-44372 is a medium-severity vulnerability in nitrojs nitro, published on 13 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2026-44372 in the wild and no public exploit code.

Affected packages and fixed versions:
- nitro (npm): affected all versions; fixed in 3.0.260429-beta
- nitro (npm): affected all versions; fixed in 3.0.260429-beta
- nitropack (npm): affected all versions; fixed in 2.13.4
- nitropack (npm): affected all versions; fixed in 2.13.4

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-44372/ (Markdown: https://insights.sbomify.com/CVE-2026-44372/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-44372
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-44372
- OSV: https://osv.dev/vulnerability/CVE-2026-44372

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-44372/
Summaries are generated and may contain mistakes; the official description above is the record.
