CVE-2026-86253: h3 before 1.15.6 Path Traversal via Percent-Encoded Dot Segments

Published Sep 6, 2026
·
Updated

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.

Affected Software

2 affected components
npm/h3<=2.0.1-rc.14
npm/h3<1.15.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade h3 to a version that resolves this vulnerability.

    Fixed in 1.15.6
  2. Upgrade

    Upgrade h3 to a version that resolves this vulnerability.

    Fixed in 2.0.1-rc.15
  3. Compensating control

    On affected Node.js deployments, ensure request URL path normalization before calling serveStatic()/handling event.url.pathname so percent-encoded dot segments (e.g., %2e%2e) cannot be decoded into ../ path traversal sequences.

Event History

Sep 6, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Node.js deployments using h3's serveStatic() are exposed when running an affected h3 version. The issue affects versions up to 2.0.1-rc.14; fixes are available in 1.15.6 and 2.0.1-rc.15.

2

What does an attacker need to exploit this issue?

An attacker needs network access to an endpoint served by serveStatic() and must send a crafted request containing percent-encoded dot segments such as %2e%2e. Authentication and user interaction are not required.

3

What can an attacker access if exploitation succeeds?

A successful attacker can read arbitrary files outside the intended static directory. The provided information does not indicate integrity or availability impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203