CVE-2026-86253
mediumh3 (npm package) versions <= 2.0.1-rc.14 contain a path traversal vulnerability in serveStatic().
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/h3js/h3/security/advisories/GHSA-wr4h-v87w-p3r7 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/h3-before-1.15.6-path-traversal-via-percent-encoded-d... disclosure@vulncheck.com
