Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToBinary` function in `src/utils/ipaddr.ts` do not properly validate that IPv4 octet values are within the valid range of 0-255, allowing attackers to craft malformed IP addresses that bypass IP-based access controls. Version 4.11.7 contains a patch for the issue.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh
Patch x_refsource_misc
https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37
Release Notes x_refsource_misc
https://github.com/honojs/hono/releases/tag/v4.11.7
Scores
CVSS v3
4.8
EPSS
0.0001
EPSS Percentile
2.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-185
Status
published
Products (2)
hono/hono
< 4.11.7
npm/hono
0 - 4.11.7npm
Published
Jan 27, 2026
Tracked Since
Feb 18, 2026