Skip to main content

EUVDEUVD-2026-20491

| CVE-2026-39406 MEDIUM
Path Traversal (CWE-22)
2026-04-08 https://github.com/honojs/node-server GHSA-92pp-h63x-v22m
5.3
CVSS 3.1 · Vendor: https://github.com/honojs/node-server
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 5.3 score (AV:N, AC:L, PR:N, UI:N, S:U, C:L, I:N, A:N) indicates a network-exploitable vulnerability requiring no privileges or user interaction with low confidentiality impact. The attack complexity is low, making exploitation straightforward-an attacker simply appends extra slashes to bypass middleware. While no EPSS score or KEV active exploitation status is provided in the input, the high practical exploitability (trivial path manipulation) combined with low CVSS impact creates a moderate real-world risk: the vulnerability is easy to exploit but limited to confidentiality breaches of static files. Organizations using Hono node-server with route-based middleware for access control should prioritize this, though the impact is narrower than vulnerabilities affecting dynamic content or authentication systems. Absence of reported active exploitation does not diminish the straightforward nature of the attack vector.

Exploit ScenarioDerived

An attacker targeting an application using Hono node-server with middleware protecting /admin/* routes could craft a simple GET request like GET //admin/secret.txt (with repeated slashes). The router fails to match this against the /admin/* protection rule, allowing the request to proceed to serveStatic, which normalizes the path and serves the file. The attacker gains access to protected static files without authentication, extracting configuration files, API keys, or other sensitive data typically guarded by middleware. No special tooling or user interaction is required; a standard HTTP client suffices.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Path normalization inconsistency in Hono's node-server serveStatic middleware allows unauthenticated attackers to bypass route-based authorization middleware by using repeated slashes (e.g., //admin/secret.txt) to access protected static files, exposing sensitive information with low confidentiality impact (CVSS 5.3).

RemediationAI

Upgrade @hono/node-server to version 1.19.13 or later, which includes the patch that normalizes path handling consistency between the routing layer and serveStatic middleware. The fix is available in the GitHub repository at https://github.com/honojs/node-server/releases/tag/v1.19.13. No workarounds are documented; patching is the primary remediation. For applications unable to upgrade immediately, implement explicit path normalization at the application level or use a dedicated static file serving proxy with consistent path handling before requests reach Hono routing layers. Refer to the official security advisory at https://github.com/honojs/node-server/security/advisories/GHSA-92pp-h63x-v22m for additional context.

Affected VersionsENISA

node-server < 1.19.13

Affected Packages

npm @hono/node-server fix: 1.19.13
euvd node_server fix: 1.19.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exploits a discrepancy in how HTTP request paths are processed by different layers in Hono's node-server package (CPE: pkg:npm/@hono_node-server). Route-based middleware uses strict path matching that fails to recognize paths with repeated forward slashes as matching the protected route pattern (e.g., /admin/*), while the serveStatic middleware normalizes these paths and serves the files. This is a classic path traversal variant (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) where the restriction mechanism (route-based middleware) and the file access mechanism (serveStatic) operate on different normalized representations of the same path, creating a bypass. The issue affects applications relying on middleware-based access control without proper path normalization enforcement at the routing layer.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/honojs/node-server) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (https://github.com/honojs/node-server) · only source for this CVE.

CVSS VectorVendor: https://github.com/honojs/node-server

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch released
Apr 08, 2026 - 00:30 nvd
Patch available
CVE Published
Apr 08, 2026 - 00:16 nvd
MEDIUM 5.3

DescriptionCVE.org

Summary

A path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path.

When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass.

Details

The routing layer and serveStatic handle repeated slashes differently.

For example:

  • /admin/secret.txt => matches /admin/*
  • //admin/secret.txt => may not match /admin/*

This inconsistency allows a request such as:

GET //admin/secret.txt

to bypass middleware registered on /admin/* and access protected files.

Impact

An attacker can access static files that are intended to be protected by route-based middleware by using repeated slashes in the request path.

This can lead to unauthorized access to sensitive files under the static root.

This issue affects applications that rely on serveStatic together with route-based middleware for access control.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in serveStatic Path Traversal Vulnerabilities

View all 2

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy