{"id":"CVE-2026-47674","published":"2026-05-28T15:29:08Z","modified":"2026-06-02T18:15:02Z","title":"Hono: IP Restriction bypasses static deny rules for non-canonical IPv6","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00244,"percentile":0.15917,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"},{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-xrhx-7g5j-rcj5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.18},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.12.21"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-02T18:14:51.645201Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.12.21"],"patched":["4.12.21"],"from":["GHSA-xrhx-7g5j-rcj5"],"provenance":"source"}],"summary":{"text":"Hono's ip-restriction middleware (hono/ip-restriction) in the hono product fails to correctly match non-canonical IPv6 representations against static deny and allow rules, so it silently skips rules that should apply. An attacker with unauthenticated network access to the application can exploit this by sending requests from a non-canonical IPv6 form (such as a compressed, explicit-zero, or hex-notation IPv4-mapped address) of an address already listed in a static rule, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:24Z"},"euvd":{"id":"EUVD-2026-32926","exploited":false,"provenance":"source"}}