CVE-2026-24398
MEDIUM 6.5CVSS 3.1Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing
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.
- Published
- 27 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-185
- Also known as
- GHSA-r354-f388-2fhh
- Sources
- NVDJSONOSV GHSA-r354-f388-2fhhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hono | honocpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* |
< 4.11.7 | 4.11.7 |
| OSV | npm | hono | < 4.11.7 | 4.11.7 |
References
- https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37 · Patch, WEB
- https://github.com/honojs/hono/releases/tag/v4.11.7 · Release Notes, WEB
- https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-24398 · ADVISORY
- https://github.com/honojs/hono · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 27 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Jan 2026)