Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39407: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in honojs hono

0
Medium
VulnerabilityCVE-2026-39407cvecve-2026-39407cwe-22
Published: Wed Apr 08 2026 (04/08/2026, 14:41:20 UTC)
Source: CVE Database V5
Vendor/Project: honojs
Product: hono

Description

CVE-2026-39407 is a path traversal vulnerability in the honojs hono web framework versions prior to 4. 12. 12. The issue arises from inconsistent path handling in the serveStatic function, which normalizes repeated slashes in request paths, allowing access to protected static files. When route-based middleware is used for authorization, paths with repeated slashes may bypass middleware checks because the router does not normalize these paths the same way. This vulnerability has a CVSS score of 5. 3 (medium severity) and is fixed in version 4. 12. 12.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 05:27:23 UTC

Technical Analysis

Honojs hono versions before 4.12.12 contain a path traversal vulnerability (CWE-22) due to inconsistent handling of repeated slashes in URL paths. The serveStatic middleware normalizes paths by collapsing repeated slashes, allowing access to files that should be protected. However, route-based middleware used for authorization does not normalize these paths, causing a mismatch that can be exploited to bypass authorization controls. This vulnerability enables unauthorized read access to protected static files. The issue is resolved in hono version 4.12.12.

Potential Impact

An attacker can bypass route-based authorization middleware by exploiting inconsistent path normalization, potentially gaining unauthorized read access to protected static files. The vulnerability does not affect integrity or availability, only confidentiality of static file content. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade honojs hono to version 4.12.12 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated by the vendor advisory. Patch status is not explicitly stated but the fix is included in the specified version update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-07T00:23:30.594Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d737041cc7ad14da419531

Added to database: 4/9/2026, 5:20:04 AM

Last enriched: 4/9/2026, 5:27:23 AM

Last updated: 4/9/2026, 9:22:31 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses