CVE 4.8 MEDIUM

Hono’s IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing_CVE-2026-24398

4.8 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-24398
Source GitHub_M
Published Jan 27, 2026 at 19:06
Modified Jan 27, 2026 at 19:20

Affected Product

Vendor honojs
Product hono
Version < 4.11.7
Affected Versions honojs hono < 4.11.7

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.