{"id":"CVE-2026-24398","published":"2026-01-27T19:06:42Z","modified":"2026-01-27T19:20:35Z","title":"Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing","vendor":"honojs","product":"hono","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00342,"percentile":0.28474,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-r354-f388-2fhh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/edbf6eea8e6c26a3937518d4ed91d8666edeec37","tags":["x_refsource_MISC"]},{"url":"https://github.com/honojs/hono/releases/tag/v4.11.7","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":5.69},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.11.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T19:18:50.922446Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.11.7"],"patched":["4.11.7"],"from":["GHSA-r354-f388-2fhh"],"provenance":"source"}],"summary":{"text":"The Hono web framework's IP Restriction Middleware, in versions before 4.11.7, has an IPv4 address validation flaw in its IPV4_REGEX pattern and convertIPv4ToBinary function, which fail to confirm that octet values fall within 0-255. An unauthenticated remote attacker can send crafted malformed IPv4 addresses to bypass IP-based access controls, though this requires a specific deployment configuration and attack conditions that make exploitation harder.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:04Z"},"euvd":{"id":"EUVD-2026-4774","exploited":false,"provenance":"source"}}