Incorrect Behavior Order: Validate Before Canonicalize in hono - CVE-2026-39409
Published: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass IP-based access restrictions.
The vulnerability exists due to incorrect behavior order: validate before canonicalize in ipRestriction() when processing IPv4-mapped IPv6 client addresses against IPv4 allow or deny rules. A remote attacker can send requests from an IPv4 address represented as an IPv4-mapped IPv6 address to bypass IP-based access restrictions.
This issue occurs in dual-stack environments where IPv4 clients may be represented as IPv4-mapped IPv6 addresses.