CVE Catalog

CVE-2026-86253

MediumCVSS 5.9
Published: Translated: NVD NIST

Summary

The npm package h3 versions up to 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.

Risk Assessment

The risk is the ability to read arbitrary files from the server, potentially exposing sensitive data such as configuration files, keys, or user data.

Recommendation

Immediately upgrade the h3 package to version 1.15.6 or 2.0.1-rc.15 (or later) which contains the fix for this vulnerability.

Other vulnerabilities in h3

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS