Vulnerability
CVE-2026-47674
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.
35 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-2c9x-c855-p47m
- CGA-3359-jhjm-76jh
- CGA-3h9p-896m-vrw9
- CGA-437r-47rg-cp3p
- CGA-5749-88p4-5fg2
- CGA-72cj-738m-4cvg
- CGA-773h-gwwj-g623
- CGA-85v5-c3h7-hg36
- CGA-8vv3-g7p5-gg72
- CGA-c52g-w7fv-x37j
- CGA-c5pr-wcm9-5wjg
- CGA-c6rf-pmff-9973
- CGA-ccqh-2q4q-mj9p
- CGA-g257-qq6q-qh8p
- CGA-g2q6-38gm-9r7x
- CGA-gr7f-6228-fq83
- CGA-jcmr-vfxf-h4c8
- CGA-jhmx-c7xq-m79m
- CGA-jw67-29j8-c5rc
- CGA-m93c-fcqm-8q96
- CGA-mm5r-532w-r5qv
- CGA-prx5-p5r6-ff67
- CGA-q3hq-7hv5-vqw8
- CGA-qxqx-jxmx-q9c4
- CGA-r286-phgv-cq3h
- CGA-rhqr-r9w6-mvr6
- CGA-vm8w-4r5w-837f
- CGA-wfh3-pm9q-wgvw
- CGA-wjcp-jwhp-v7hq
- CGA-wqvf-9x82-rx5c
- CGA-wrvh-hxw4-9798
- CGA-x822-44mq-4j3h
- CGA-x98j-jrgw-x7gr
- CGA-xgwg-q4jp-g2hv
-
GHSA-xrhx-7g5j-rcj5
Hono: IP Restriction bypasses static deny rules for non-canonical IPv6