CVE-2026-24398CWE-185

Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

Medium · published January 27, 2026

CVSS v3.1
4.8
EPSS
0%
Percentile
27.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00350 · 27.4th percentile
Weakness
CWE-185 · Incorrect Regular Expression
Published
2026-01-27T19:06Z
EPSS history
Timeline
  • 27 JAN 19:06Z
    Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing
    cvelistv5