Input validation error in hono - CVE-2026-24398
Published: July 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass IP-based access controls.
The vulnerability exists due to improper input validation in the IP Restriction Middleware and src/utils/ipaddr.ts when processing client-provided IP addresses for access control decisions. A remote attacker can send a malformed IP address to bypass IP-based access controls.
This is exploitable when the application relies on client-provided IP addresses such as the X-Forwarded-For header for access control decisions.