CVE-2026-47674
MEDIUMHono: IP Restriction bypasses static deny rules for non-canonical IPv6
Title source: cnaDescription
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string equality after partial normalization. Non-canonical IPv6 representations of an address already listed in a static rule — such as compressed forms, explicit-zero forms, or hex-notation IPv4-mapped addresses — do not match the normalized rule entry, causing the rule to be silently skipped. This vulnerability is fixed in 4.12.21.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/honojs/hono/security/advisories/GHSA-xrhx-7g5j-rcj5
Scores
CVSS v3
5.3
EPSS
0.0004
EPSS Percentile
13.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Details
CWE
CWE-1289
CWE-185
Status
published
Products (2)
hono/hono
< 4.12.21
honojs/hono
< 4.12.21
Published
May 28, 2026
Tracked Since
May 28, 2026