Skip to main content

Nitro CVE-2026-44373

MEDIUM
Path Traversal (CWE-22)
2026-05-06 https://github.com/nitrojs/nitro GHSA-5w89-w975-hf9q
5.3
CVSS 3.1 · Vendor: https://github.com/nitrojs/nitro
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted HTTP GET with `..%2f` traversal in path
  2. Delivery
    Nitro route matcher treats %2F as opaque and grants /api/orders/** scope match
  3. Exploit
    Nitro forwards raw un-canonicalized path to upstream
  4. Execution
    Upstream decodes %2F to / and resolves .. dot-segments
  5. Persist
    Upstream serves resource outside intended proxy scope
  6. Impact
    Attacker reads internal admin endpoint or secrets file

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of the following conditions to be true simultaneously: (1) The Nitro application defines a routeRules proxy entry where the to value contains a / wildcard suffix - e.g., { "/api/orders/": { proxy: { to: "http://upstream/orders/**" } } } - a non-default configuration that must be deliberately added by the developer; (2) the upstream server behind the proxy decodes %2F as / before routing or filesystem resolution - confirmed vulnerable upstream types include static file servers, CGI dispatchers, Python os.path-based routers, naive custom URL parsers, and microservice mesh intermediaries that normalize percent-encoding; (3) proxy route rules are not handled natively at the CDN layer (Nitro v3 on Vercel with CDN-native proxy handling is explicitly exempt). Exploitation is blocked when the upstream keeps %2F opaque per RFC 3986 - H3 v2, Express v5, and Hono v4 are confirmed safe by the vendor. No authentication is required (CVSS PR:N), no user interaction is needed (CVSS UI:N), and the attack is remotely executable over HTTP (CVSS AV:N). The primary limiting factor is the upstream's URL decoding behavior, which the attacker cannot control or enumerate without prior knowledge of the deployment.

Impact

The NVD CVSS 3.1 base score is 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - network-reachable, no authentication, no user interaction, low confidentiality impact. However, the AC:L rating may overstate exploitability because actual data exposure depends entirely on whether the upstream decodes %2F, a condition that varies by deployment and is beyond attacker control. An AC:H assessment is arguably more accurate for the access complexity metric. EPSS is 0.04% (13th percentile), consistent with no observed active exploitation and no published exploit tooling. The vulnerability is not listed in CISA KEV. Real-world severity is deployment-dependent: in a vulnerable configuration (Nitro proxying to a static file server, CGI dispatcher, or Python os.path-based service), the exposure can meaningfully exceed the base score - an attacker who maps internal admin or secrets endpoints gains high-value intelligence at no authentication cost. Deployments using H3 v2, Express v5, or Hono v4 as the upstream are safe by construction. The official C:L rating may also understate impact in configurations where the upstream serves sensitive credentials or internal API keys. No conflicting signals between CVSS and description: both confirm network-reachable, unauthenticated access as the attack path.

Exploit ScenarioDerived

An attacker probing a Nuxt.js or Nitro-based API gateway observes that /api/orders/ routes are proxied to an internal upstream. The attacker sends GET /api/orders/..%2fadmin%2fconfig.json HTTP/1.1 - Nitro's matcher treats %2F as opaque and grants the route rule match, forwarding the raw path to the internal upstream. If the upstream (e.g., a Python Flask app using os.path routing or a static file server) decodes the path to /orders/../admin/config.json and normalizes it to /admin/config.json, the attacker receives an admin configuration file containing database credentials or API keys. The advisory provides this exact request as a proof-of-concept, though no standalone exploit tool has been published.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Proxy scope bypass in Nitro (npm packages nitropack and nitro) allows unauthenticated remote attackers to reach upstream paths outside the configured routeRules wildcard scope by embedding percent-encoded path traversal sequences (..%2f) in HTTP requests. Nitro's route-rule matcher treats %2F as an opaque literal and matches the rule, then forwards the raw un-canonicalized path to the upstream; upstreams that decode %2F to / then resolve the .. segment and serve resources the developer intended to be fenced off, such as internal admin or secrets endpoints. No public exploit code is identified at time of analysis and EPSS is low at 0.04% (13th percentile), but the official advisory includes a precise proof-of-concept request and the exploit prerequisite (upstream %2F decoding) is common in static file servers, CGI handlers, Python os.path routers, and microservice mesh layers.

RemediationAI

Upgrade nitropack to version 2.13.4 or later (https://github.com/nitrojs/nitro/releases/tag/v2.13.4, patched via PR #4223 at https://github.com/nitrojs/nitro/pull/4223), or upgrade nitro to version 3.0.260429-beta or later (https://github.com/nitrojs/nitro/releases/tag/v3.0.260429-beta, patched via PR #4222 at https://github.com/nitrojs/nitro/pull/4222). The patch canonicalizes the incoming pathname before scope evaluation and returns HTTP 400 to the client if the resolved path would escape the rule base, with no change to the forwarded bytes when the request is permitted. If an immediate upgrade is not possible, configure the upstream to keep %2F opaque per RFC 3986 (switching to H3 v2, Express v5, or Hono v4 eliminates the decode differential entirely). Alternatively, deploy a WAF or edge proxy in front of Nitro that normalizes or rejects encoded slash sequences before they reach Nitro's routing layer - note this adds latency and may break legitimate use cases that require encoded slashes in paths. Do not rely on the patch to protect against double-decoding upstreams (%252F → %2F → /): if your upstream double-decodes, harden it independently as the Nitro fix only addresses single-decode scenarios.

Affected Packages

npm nitro fix: 3.0.260429-beta
npm nitropack fix: 2.13.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nitro is a universal JavaScript server framework (npm packages pkg:npm/nitropack prior to 2.13.4 and pkg:npm/nitro prior to 3.0.260429-beta) that underpins the Nuxt.js ecosystem and supports declarative routeRules for proxy configuration. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory): a match/forward differential arises because the WHATWG URL parser - used internally by Nitro - intentionally keeps %2F and %5C opaque in path segments per RFC 3986, so the glob matcher sees /api/orders/..%2fadmin%2fconfig.json as within scope, while the upstream receives the raw path and decodes %2F to / before resolving ... The fix (PR #4222 for v3, PR #4223 for v2) introduces an isPathInScope function that pre-decodes %2F and %5C before passing the pathname to new URL for dot-segment canonicalization, then rejects any request whose resolved canonical path escapes the rule base with HTTP 400. The vulnerability is a classic proxy scope bypass - not a flaw in the upstream, but a mismatch between how Nitro evaluates the rule and what it forwards.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/nitrojs/nitro) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.7 LOW

Exploitation succeeds only when the upstream decodes %2F - a target-side condition beyond attacker control - warranting AC:H over the official AC:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/nitrojs/nitro).

CVSS VectorVendor: https://github.com/nitrojs/nitro

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

A proxy route rule like:

ts
routeRules: {
  "/api/orders/**": { proxy: { to: "http://upstream/orders/**" } }
}

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:

GET /api/orders/..%2fadmin%2fconfig.json

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. An upstream that decodes %2F to / then resolved .. and can serve /admin/config.json outside the intended scope.

Are you affected?

Users may be affected if ALL of the following are true:

  1. Their project uses Nitro's routeRules with a proxy entry ({ proxy: { to: "..." } }).
  2. The proxy to value uses a /** wildcard suffix to forward sub-paths.
  3. The upstream behind the proxy decodes %2F as / before routing or filesystem lookup.
  4. Proxy route rules are _not_ handled natively at CDN (nitro v3 and vercel)

Whether the bypass actually leaks data depends on the upstream. Modern JS frameworks keep %2F opaque per RFC 3986 and are safe by construction.

  • Safe examples: H3 v2, Express v5, Hono v4 - modern JS frameworks keep %2F opaque per RFC 3986.
  • Vulnerable examples: naive imlementations that decodes the URL, static file servers, CGI dispatchers, Python os.path-based routing, anything sitting behind another layer that decodes %2F (common in microservice meshes).

Impact

Any HTTP path reachable from the Nitro server to the upstream could be requested, regardless of the configured /** scope. In typical deployments (API gateway, BFF, microservice proxy) this could expose internal admin endpoints, secrets endpoints, or other services the developer believed the scope rule fenced off.

Patched versions

Upgrade to one of:

  • 2.13.4 or later (https://github.com/nitrojs/nitro/pull/4223)
  • 3.0.260429-beta or later (https://github.com/nitrojs/nitro/pull/4222)

The fix canonicalizes the incoming pathname before building the upstream URL and rejects requests with 400 Bad Request if the resolved path would escape the rule's base. The bytes forwarded upstream are unchanged when the request is allowed.

> Note: the fix assumes the upstream does not double-decode percent-encoding. If your upstream decodes twice (%252F → %2F → /), it remains your responsibility to harden it. Single-decode is standard.

Credits

Reported by @mHe4am (@he4am on HackerOne) via the Vercel Open Source program.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
Medium
primary server framework backing Nuxt.js, widely adopted in JS ecosystem
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

pkg:npm/nitro
pkg:npm/nitropack

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy