Hono: IP Restriction bypasses static deny rules for non-canonical IPv6
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string equality after partial normalization. Non-canonical IPv6 representations of an address already listed in a static rule — such as compressed forms, explicit-zero forms, or hex-notation IPv4-mapped addresses — do not match the normalized rule entry, causing the rule to be silently skipped. This vulnerability is fixed in 4.12.21.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | hono | before 4.12.21 | 4.12.21 | Patch available | CNA |
| — | hono (npm) | before 4.12.21 | 4.12.21 | Patch available | GHSA-xrhx-7g5j-rcj5 |
- hono Vendorhonojs Affected before 4.12.21 Fixed in 4.12.21 Patch available CNA
- hono (npm) Vendor— Affected before 4.12.21 Fixed in 4.12.21 Patch available GHSA-xrhx-7g5j-rcj5
Remediation
- Fix · CNA hono (honojs) Fixed in 4.12.21
- Fix · GHSA-xrhx-7g5j-rcj5 hono (npm) Fixed in 4.12.21 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47674
- 2026-10-03 Alias added: GHSA-xrhx-7g5j-rcj5
References
More honojs Hono vulnerabilities
- TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
- TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
- TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
- TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-22076 Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo CVSS 3.1HIGH 8.2
- TI-2026-18334 JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback) CVSS 3.1HIGH 8.2
Sources
- CVE-2026-47674 · CVE Program
- CVE-2026-47674 · NVD
- FIRST EPSS
- GHSA-xrhx-7g5j-rcj5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences