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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-185"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24398.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.11.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "edbf6eea8e6c26a3937518d4ed91d8666edeec37"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v4.11.7",
"range": [
{
"fixed": "f7d272abe1644e50ab5fe9cb53f5965c35d77226"
}
],
"source": "REFERENCES_TAG"
}
]
}