CVE-2026-39409

Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses

State
Published
Severity
6.3 Medium
Published
Apr 8, 2026
Updated
Apr 8, 2026
Reserved
Apr 7, 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.12, ipRestriction() does not canonicalize IPv4-mapped IPv6 client addresses (e.g. ::ffff:127.0.0.1) before applying IPv4 allow or deny rules. In environments such as Node.js dual-stack, this can cause IPv4 rules to fail to match, leading to unintended authorization behavior. This vulnerability is fixed in 4.12.12.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-180 Incorrect Behavior Order: Validate Before Canonicalize

Affected Products

ProductVersions
honohonojs
  • < 4.12.12Affected

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.