CVE-2026-47674
published medium CVSS 3.1 · 5.3Hono: IP Restriction bypasses static deny rules for non-canonical IPv6
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| honojs | — | hono< 4.12.21 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| honojs | hono | < 4.12.21 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-185 CWE-185: Incorrect Regular Expression
- CWE-1289 CWE-1289: Improper Validation of Unsafe Equivalence in Input
References
1Provider assertions
2GitHub_M · cna
Hono: IP Restriction bypasses static deny rules for non-canonical IPv6
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- acd75f40dc7f596f76d74604aea080d15e48b4dcd17e78ccb057313ab7d810f3
- Ingested
- 23 Sep 2026, 09:16:58 UTC
- Source record
- Official CVE record