CVE-2026-86253: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in h3js h3
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.
CVSS v4.0
Score 8.2high
Affected software
h3js
h3
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The h3 npm package versions <= 2.0.1-rc.14 contain a path traversal vulnerability in the serveStatic() function. On Node.js deployments, event.url.pathname is not normalized properly, allowing percent-encoded dot segments (%2e%2e) to be decoded into '../' sequences without sanitization. This enables an unauthenticated remote attacker to send crafted requests to endpoints served by serveStatic() to read arbitrary files outside the intended static directory. The vulnerability is fixed in versions 1.15.6 and 2.0.1-rc.15.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to read arbitrary files outside the intended static directory on affected systems. This can lead to unauthorized disclosure of sensitive information. The CVSS 4.0 score is 8.2 (high severity), indicating a significant impact due to network attack vector, no privileges required, and high confidentiality impact.
Mitigation Recommendations
Upgrade affected h3 package versions to 1.15.6 or later, or 2.0.1-rc.15 or later, where the vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-06T11:35:19.316Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9d5b10acd9273b49b9c590
Added to database: 09/06/2026, 12:22:40 UTC
Last enriched: 09/15/2026, 00:01:38 UTC
Last updated: 10/21/2026, 13:20:24 UTC
Views: 105
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.