Skip to main content
← All vulnerabilities
CVE-2026-24398GHSA-R354-F388-2FHH

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.11.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • honojs hono

    fixed in 4.11.7

  • hononpm

    fixed in 4.11.7

References 3

GitHub · honojs/hono