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.
Published: 2026-04-08
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized Access Due to Improper IP Filtering
Action: Patch Now
AI Analysis

Impact

The vulnerability in Hono’s ipRestriction() function causes the library to fail to canonicalize IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1 before enforcing IPv4 allow or deny rules. As a result, requests that carry IPv4-mapped IPv6 IPs can bypass intended restrictions, allowing unauthorized access to protected resources. The weakness is a configuration error that leads to improper access control, identified as CWE-180.

Affected Systems

The affected product is the Hono.js framework (hono) used in JavaScript runtime environments. All installations running any version prior to 4.12.12 are vulnerable, particularly those operating in Node.js dual‑stack mode where IPv4‑mapped IPv6 addresses are present.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS data is not provided, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is remote, involving network traffic directed at a web application that employs ipRestriction() with typical allow/deny rules. An attacker simply needs to craft HTTP requests that present IPv4‑mapped IPv6 client addresses; no authentication or privileged local access is required. If the environment uses dual‑stack networking, the failure to canonicalize these addresses can be exploited by any external actor who can reach the application endpoint.

Generated by OpenCVE AI on April 8, 2026 at 16:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Hono.js to version 4.12.12 or later

Generated by OpenCVE AI on April 8, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xpcf-pg52-r92g Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
History

Thu, 09 Apr 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Hono
Hono hono
Vendors & Products Hono
Hono hono

Wed, 08 Apr 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
Weaknesses CWE-180
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-08T16:13:05.175Z

Reserved: 2026-04-07T00:23:30.594Z

Link: CVE-2026-39409

cve-icon Vulnrichment

Updated: 2026-04-08T16:08:58.120Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-08T15:16:14.990

Modified: 2026-04-08T21:26:13.410

Link: CVE-2026-39409

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-09T08:18:47Z

Weaknesses