Improper Validation of Unsafe Equivalence in Input in hono - CVE-2026-47674
Published: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass IP-based access controls.
The vulnerability exists due to improper validation of unsafe equivalence in input in the ip-restriction middleware when handling requests with non-canonical IPv6 source addresses against static deny rules. A remote attacker can supply a non-canonical representation of a denied IP address to bypass IP-based access controls.
This issue occurs when applications use static non-CIDR rules and the IP address source can provide non-canonical IPv6 forms, such as compressed or expanded notation, IPv4-mapped hexadecimal notation, or zone identifier suffixes.