SB20261119128 - Multiple vulnerabilities in hono



SB20261119128 - Multiple vulnerabilities in hono

Published: November 19, 2026

Security Bulletin ID SB20261119128
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 vulnerabilities.


1) Double Decoding of the Same Data (CVE-ID: N/A)

CWE-ID: CWE-174 - Double Decoding of the Same Data

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to read static files protected by path-specific middleware within the configured static root.

The vulnerability exists due to double decoding of the request path in Hono's serveStatic middleware when the allowPercentInPath option is enabled. A remote attacker can send a request that the router and static file handler resolve differently to access a protected file without triggering its middleware.


2) Resource exhaustion (CVE-ID: N/A)

CWE-ID: CWE-400 - Resource exhaustion

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service by exhausting server memory.

The vulnerability exists due to uncontrolled resource consumption in the bodyLimit() middleware when it retains each request body chunk as a separate object without counting that memory overhead toward the body size limit. A remote attacker can submit a chunked request within the configured body size limit to exhaust server memory and terminate the process.


3) Input validation error (CVE-ID: N/A)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass request-body validation and pass unchecked JSON or form fields to the application handler.

The vulnerability exists due to improper input validation in Hono's validator() middleware when strict matching of the Content-Type header causes the validator to pass an empty object to the callback even though the handler can still parse the body. A remote attacker can submit JSON or form data with a Content-Type header that the validator and handler interpret differently to bypass field checks if the callback accepts an empty object.


4) Authentication bypass using an alternate path or channel (CVE-ID: N/A)

CWE-ID: CWE-288 - Authentication Bypass Using an Alternate Path or Channel

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to read information from mounted routes protected by path-scoped authentication or authorization middleware.

The vulnerability exists due to incorrect request path rewriting in mount() and app.mount() when a custom getPath prepends a prefix, causing the mounted application to receive a different path from the one checked by the outer application. A remote attacker can request an alternate URL to reach a protected route without triggering its middleware.


Remediation

Install update from vendor's website.