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

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-01-27T19:01:43.000Z
- Modified: 2026-09-10T03:50:59.119Z
- Also known as: GHSA-r354-f388-2fhh
- Weaknesses: CWE-185
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- honojs hono: < 4.11.7
- hono (npm): before 4.11.7
- hono hono: before 4.11.7

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh> (vendor-advisory, web)
- <https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37> (patch, web)
- <https://github.com/honojs/hono/releases/tag/v4.11.7> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24398> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-24398](https://www.cve.org/CVERecord?id=CVE-2026-24398), CVE Terms of Use, modified 2026-01-27
- GitHub Advisory Database: [GHSA-r354-f388-2fhh](https://github.com/advisories/GHSA-r354-f388-2fhh), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-24398](https://nvd.nist.gov/vuln/detail/CVE-2026-24398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24398 · Whole record: https://cve.day/CVE-2026-24398.json · Rebuilt by cve.day 2026-11-25T22:59:13.239Z
