CVE-2026-24398 Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing
MediumCVSS 6.5
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hono | < 4.11.7 | 4.11.7 | Fixed |
| npm hono(npm) | < 4.11.7 | 4.11.7 | Fixed |
| honojs hono | = < 4.11.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| honojs hono | = < 4.11.7 | No fix listed |
| npm hono(npm) | < 4.11.7 | 4.11.7 |
| hono | < 4.11.7 | 4.11.7 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh vendor-advisory
- https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37 patch
- https://github.com/honojs/hono/releases/tag/v4.11.7 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product