{"id":"CVE-2026-39409","published":"2026-04-08T14:43:36Z","modified":"2026-04-08T16:13:05Z","title":"Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00349,"percentile":0.29261,"provenance":"source"},"cwes":[{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-xpcf-pg52-r92g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v4.12.12","tags":["x_refsource_MISC"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":5.85},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.12.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-08T16:08:52.269915Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.12.12"],"patched":["4.12.12"],"from":["GHSA-xpcf-pg52-r92g"],"provenance":"source"}],"summary":{"text":"The flaw is in the ipRestriction() function of the Hono web application framework, which fails to canonicalize IPv4-mapped IPv6 client addresses such as ::ffff:127.0.0.1 before applying IPv4 allow or deny rules. Because those rules then fail to match in environments such as dual-stack Node.js, an attacker reaching the application over the network without authentication or user interaction can cause unintended authorization behavior, with a limited confidentiality impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:44Z"},"euvd":{"id":"EUVD-2026-20497","exploited":false,"provenance":"source"}}