CVE-2026-86253
CVE-2026-86253 · h3 before 1.15.6 Path Traversal via Percent-Encoded Dot Segments
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.2 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
h3
- Versions
- ≥ 0, < 1.15.6: Affected (semver)
- 1.15.6: Not affected (semver)
- ≥ 2.0.0-beta.0, < 2.0.1-rc.15: Affected (semver)
- 2.0.1-rc.15: Not affected (semver)
Update to 1.15.6; Update to 2.0.1-rc.15
h3 npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 2.0.1-rc.15
Update to 2.0.1-rc.15
h3 npm
- Affected ranges
- SEMVER: < 1.15.6
Update to 1.15.6