CVE-2026-86253

h3 before 1.15.6 Path Traversal via Percent-Encoded Dot Segments

State
Published
Severity
8.2 High
Published
Sep 6, 2026
Updated
Sep 10, 2026
Reserved
Sep 6, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
h3h3js
  • before 1.15.6Affected
  • 1.15.6Not affected
  • 2.0.0-beta.0 to before 2.0.1-rc.15Affected
  • 2.0.1-rc.15Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.