Vulnerability
CVE-2026-24398
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToBinary` function in `src/utils/ipaddr.ts` do not properly validate that IPv4 octet values are within the valid range of 0-255, allowing attackers to craft malformed IP addresses that bypass IP-based access controls. Version 4.11.7 contains a patch for the issue.
23 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-3gpc-pw7q-99vf
- CGA-434m-p74f-r526
- CGA-654x-qj5r-g35h
- CGA-6vf4-xx5w-5384
- CGA-8869-hxgh-q38q
- CGA-9gq4-8w4q-2fc6
- CGA-c7g2-vh2v-2x9c
- CGA-cmpp-v2r6-hjqj
- CGA-cqw9-p26j-v86w
- CGA-f9c8-mqch-rfv9
- CGA-h55j-r584-hv27
- CGA-j555-wm44-vwvm
- CGA-m6vv-qrvx-5qq9
- CGA-mq66-q5wq-6g3x
- CGA-p485-mpx6-vj56
- CGA-pcx8-vwm4-74x3
- CGA-pv4x-rrc2-236m
- CGA-q3j8-xxpw-cv9w
- CGA-qf6h-q58w-8mw3
- CGA-vmg6-4p8q-hrh8
- CGA-vqx9-qq6v-fqx4
- CGA-xf53-r972-997c
-
GHSA-r354-f388-2fhh
Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing