{"id":"CVE-2026-39409","state":"PUBLISHED","title":"Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses","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.","publishedAt":"2026-04-08T14:43:36.476Z","updatedAt":"2026-04-08T16:13:05.175Z","severity":{"score":6.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs hono"],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.12.12","status":"affected"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-xpcf-pg52-r92g","https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39","https://github.com/honojs/hono/releases/tag/v4.12.12"],"weaknesses":["CWE-180"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39409.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39409","state":"PUBLISHED","datePublished":"2026-04-08T14:43:36.476Z","dateUpdated":"2026-04-08T16:13:05.175Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-07T00:23:30.594Z"},"containers":{"cna":{"title":"Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.12.12","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-xpcf-pg52-r92g","name":"https://github.com/honojs/hono/security/advisories/GHSA-xpcf-pg52-r92g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39","name":"https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v4.12.12","name":"https://github.com/honojs/hono/releases/tag/v4.12.12","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-180","lang":"en","description":"CWE-180: Incorrect Behavior Order: Validate Before Canonicalize","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-08T14:43:36.476Z"},"source":{"advisory":"GHSA-xpcf-pg52-r92g","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-08T16:08:52.269915Z","id":"CVE-2026-39409","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-08T16:13:05.175Z"}}]}}}