Description
h3 (npm package) versions <= 2.0.1-rc.14 contain a path traversal vulnerability in serveStatic(). On Node.js deployments, event.url.pathname is not normalized, so percent-encoded dot segments (%2e%2e) are passed to decodeURI() and decoded to ../ sequences without sanitization. An unauthenticated remote attacker can send crafted requests to endpoints served by serveStatic() to read arbitrary files outside the intended static directory. Fixed in 1.15.6 and 2.0.1-rc.15.
Published: 2026-09-06
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Read
Action: Immediate Patch
AI Analysis

Impact

A path traversal flaw exists in the serveStatic function of the h3 JavaScript library, which is used in Node.js applications to serve static files. The flaw occurs because event.url.pathname is not normalized; percent‑encoded dot segments such as %2e%2e are decoded into "../" without sanitization. An unauthenticated attacker can craft HTTP requests containing these sequences to retrieve any file located outside the intended static directory, potentially exposing sensitive data and compromising system confidentiality.

Affected Systems

The vulnerability affects h3 packages from the h3js organization, specifically all releases up to and including 1.15.5 and 2.0.1‑rc.14. It is present in Node.js deployments that rely on serveStatic for static content delivery, regardless of authentication or other controls in place.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. Although EPSS data is unavailable and the issue is not listed in CISA KEV, the flaw is exploitable over a publicly reachable HTTP interface and permits the reading of arbitrary files. Attackers need only send crafted requests; no authentication or elevated privileges are required. The vulnerability is prefixed by CWE‑22, highlighting a path traversal weakness.

Generated by OpenCVE AI on September 6, 2026 at 13:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the h3 dependency to version 1.15.6 or later, or 2.0.1‑rc.15 or newer, which contain the path traversal fix.
  • If an upgrade is delayed, remove or tightly limit the use of serveStatic, ensuring that any paths served are explicitly validated against a whitelist of allowed directories.
  • As a temporary defensive measure, isolate static content delivery to a dedicated web server or reverse proxy that enforces strict path restrictions.

Generated by OpenCVE AI on September 6, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 18 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 10 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 06 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared H3js
H3js h3
Vendors & Products H3js
H3js h3

Sun, 06 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Description h3 (npm package) versions <= 2.0.1-rc.14 contain a path traversal vulnerability in serveStatic(). On Node.js deployments, event.url.pathname is not normalized, so percent-encoded dot segments (%2e%2e) are passed to decodeURI() and decoded to ../ sequences without sanitization. An unauthenticated remote attacker can send crafted requests to endpoints served by serveStatic() to read arbitrary files outside the intended static directory. Fixed in 1.15.6 and 2.0.1-rc.15.
Title h3 before 1.15.6 Path Traversal via Percent-Encoded Dot Segments
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-10T15:04:40.108Z

Reserved: 2026-09-06T11:35:19.316Z

Link: CVE-2026-86253

cve-icon Vulnrichment

Updated: 2026-09-10T14:19:05.885Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-06T12:17:16.163

Modified: 2026-09-10T16:18:02.287

Link: CVE-2026-86253

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-06T12:00:28Z

Links: CVE-2026-86253 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-06T14:30:09Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')