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-54286: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in honojs hono

0
Medium
VulnerabilityCVE-2026-54286cvecve-2026-54286cwe-22
Published: 06/22/2026 (06/22/2026, 17:14:40 UTC)
Source: CVE Database V5
Vendor/Project: honojs
Product: hono

Description

Hono, a JavaScript web application framework, has a path traversal vulnerability (CWE-22) affecting versions prior to 4.12.25 on Windows hosts. An encoded backslash (%5C) in the request path is decoded to a backslash, which Windows treats as a path separator. This allows an attacker to access nested files outside intended directories, bypassing middleware protections. The vulnerability is fixed in version 4.12.25.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

honojs/hono
pkg:npm/honojs/hono
Affected versions
<4.12.25

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:54:58 UTC

Technical Analysis

CVE-2026-54286 is a path traversal vulnerability in the honojs hono framework affecting versions before 4.12.25 on Windows systems. The issue arises because an encoded backslash (%5C) in the URL path decodes to a backslash (\), which the Windows path resolver interprets as a directory separator. This causes serve-static middleware to resolve a single URL segment like 'admin\secret.txt' into a nested file path under the root directory, allowing unauthorized reading of static files protected by prefix-mounted middleware. The vulnerability is addressed in hono version 4.12.25.

Potential Impact

An attacker can read static files that are intended to be protected behind middleware by exploiting the path traversal flaw on Windows hosts. This leads to unauthorized disclosure of potentially sensitive files. The CVSS score is 5.9 (medium severity), reflecting network attack vector with high impact on confidentiality but no impact on integrity or availability.

Mitigation Recommendations

Upgrade hono to version 4.12.25 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated or required according to the available data.

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-06-12T17:46:37.292Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735ceed863c81e3962a4

Added to database: 06/22/2026, 17:39:40 UTC

Last enriched: 06/22/2026, 17:54:58 UTC

Last updated: 06/22/2026, 20:04:33 UTC

Views: 7

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