CVE-2026-47674

Hono: IP Restriction bypasses static deny rules for non-canonical IPv6

State
Published
Severity
5.3 Medium
Published
May 28, 2026
Updated
Jun 2, 2026
Reserved
May 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-185 Incorrect Regular Expression
  • CWE-1289 Improper Validation of Unsafe Equivalence in Input

Affected Products

ProductVersions
honohonojs
  • < 4.12.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.