Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Hono | Hono | < 4.11.7 |
Related Weaknesses (CWE)
References
- https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37Patch
- https://github.com/honojs/hono/releases/tag/v4.11.7Release Notes
- https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhhVendor Advisory
FAQ
What is CVE-2026-24398?
CVE-2026-24398 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 `...
How severe is CVE-2026-24398?
CVE-2026-24398 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-24398?
Check the references section above for vendor advisories and patch information. Affected products include: Hono Hono.