Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-47674 EUVD-2026-32926GHSA-xrhx-7g5j-rcj5

Hono: IP Restriction bypasses static deny rules for non-canonical IPv6

Published May 28, 2026 · Updated Jun 2, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
honojs hono < 4.12.21 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.12.21 4.12.21 GHSA-xrhx-7g5j-rcj5

References