LiveActive security incident?Get immediate response
CVE Record

CVE-2026-24398: Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

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.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Hono applications using the IP Restriction Middleware before version 4.11.7 may incorrectly accept malformed IPv4 addresses. This can let an unauthenticated attacker bypass IP-based allow or deny rules in some deployments. The issue is rated medium by the source data and is patched in Hono 4.11.7.

Executive priority

Treat as a targeted remediation item for Hono-backed services that use IP allowlists or denylists. Prioritize systems where IP restrictions protect administrative, internal, or sensitive endpoints. Broad emergency response is not indicated by the provided evidence.

Technical view

The flaw is in Hono’s IPv4 validation logic. The advisory states `IPV4_REGEX` and `convertIPv4ToBinary` did not ensure IPv4 octets stayed within 0-255. That validation gap can cause malformed IPv4 values to bypass IP restriction checks. CVSS is 4.8, network exploitable, high complexity, no privileges or user interaction required.

Likely exposure

Exposure is limited to projects using honojs/hono versions earlier than 4.11.7 and specifically relying on IP Restriction Middleware for access control. Applications not using that middleware are less likely to be directly affected based on the provided sources.

Exploitation context

The CVE is not listed as KEV, and the provided sources do not state active exploitation. Successful abuse depends on application routing, proxy/header handling, and whether IP-based restrictions protect sensitive functions. The CVSS vector rates attack complexity as high.

Researcher notes

This is a validation bypass mapped to CWE-185. The key review area is IPv4 parsing and boundary enforcement in `src/utils/ipaddr.ts`. Avoid assuming universal impact across all Hono apps; the relevant exposure is use of IP Restriction Middleware before the patched release.

Mitigation direction

  • Upgrade honojs/hono to version 4.11.7 or later.
  • Review the GitHub security advisory and release notes for vendor guidance.
  • Identify services relying on Hono IP Restriction Middleware for access control.
  • Consider layered authorization instead of relying only on source IP checks.

Validation and detection

  • Inventory Hono versions across applications and dependency manifests.
  • Confirm whether IP Restriction Middleware is used in each application.
  • Verify production deployments run Hono 4.11.7 or later.
  • Review access-control tests covering malformed IPv4 input handling.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-185: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-24398 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N2.22.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.8Medium
CVSS 3.1 vector shape for CVE-2026-24398Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
honojshono< 4.11.7Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-185 · source CWE mapping

Incorrect Regular Expression

Incorrect Regular Expression represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.