{"id":"CVE-2026-24398","state":"PUBLISHED","title":"Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing","description":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToBinary` function in `src/utils/ipaddr.ts` do not properly validate that IPv4 octet values are within the valid range of 0-255, allowing attackers to craft malformed IP addresses that bypass IP-based access controls. Version 4.11.7 contains a patch for the issue.","publishedAt":"2026-01-27T19:06:42.792Z","updatedAt":"2026-01-27T19:20:35.594Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs hono"],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.11.7","status":"affected"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh","https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37","https://github.com/honojs/hono/releases/tag/v4.11.7"],"weaknesses":["CWE-185"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24398.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24398","state":"PUBLISHED","datePublished":"2026-01-27T19:06:42.792Z","dateUpdated":"2026-01-27T19:20:35.594Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-22T18:19:49.172Z"},"containers":{"cna":{"title":"Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing","descriptions":[{"lang":"en","value":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToBinary` function in `src/utils/ipaddr.ts` do not properly validate that IPv4 octet values are within the valid range of 0-255, allowing attackers to craft malformed IP addresses that bypass IP-based access controls. Version 4.11.7 contains a patch for the issue."}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.11.7","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh","name":"https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37","name":"https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v4.11.7","name":"https://github.com/honojs/hono/releases/tag/v4.11.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-185","lang":"en","description":"CWE-185: Incorrect Regular Expression","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-27T19:06:42.792Z"},"source":{"advisory":"GHSA-r354-f388-2fhh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-27T19:18:50.922446Z","id":"CVE-2026-24398","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-01-27T19:20:35.594Z"}}]}}}