Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.3.3 before 4.12.27, the AWS API Gateway v1 adapter can drop a distinct repeated request header value because it de-duplicates values using a substring comparison instead of an exact match, so middleware or application logic that depends on the complete X-Forwarded-For chain, rate limiting, audit logging, or proxy-chain validation can receive incomplete data. This issue is fixed in version 4.12.27.
Published: 2026-07-08
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The AWS API Gateway v1 adapter in the Hono framework performs header de‑duplication by comparing substrings rather than exact values. When an HTTP request contains duplicate X-Forwarded-For header entries, the adapter drops the later values and retains only the first. This truncates the chain that middleware or application logic relies on for functions such as rate limiting, audit logging, or proxy‑chain validation. The result is that controls expecting the full header sequence may be bypassed, compromising the integrity of request processing but not providing direct code execution or privilege escalation.

Affected Systems

Versions of the Hono JavaScript framework from 4.3.3 up to, but not including, 4.12.27 that utilize the AWS API Gateway v1 adapter are affected. Deployments that route HTTP traffic through this adapter are at risk.

Risk and Exploitability

The CVSS score of 4.8 denotes moderate severity, while the EPSS score being less than 1% indicates a low current likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. An attacker can trigger the issue by sending a crafted HTTP request that contains duplicate X-Forwarded-For headers; the resulting truncated header chain can cause security controls that depend on the full chain to fail. No evidence of arbitrary code execution or privilege escalation is present in the CVE data.

Generated by OpenCVE AI on July 29, 2026 at 13:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Hono 4.12.27 or later, which fixes the header de‑duplication logic.
  • If an immediate upgrade is not feasible, replace the AWS API Gateway v1 adapter with custom code that preserves all instances of repeated header values.
  • Add middleware that validates the integrity of the X‑Forwarded‑For header chain before applying rate‑limiting, logging, or proxy‑chain validation logic.

Generated by OpenCVE AI on July 29, 2026 at 13:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xgm2-5f3f-mvvc Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication
History

Fri, 10 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Hono
Hono hono
Vendors & Products Hono
Hono hono

Thu, 09 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Description Hono is a Web application framework that provides support for any JavaScript runtime. From 4.3.3 before 4.12.27, the AWS API Gateway v1 adapter can drop a distinct repeated request header value because it de-duplicates values using a substring comparison instead of an exact match, so middleware or application logic that depends on the complete X-Forwarded-For chain, rate limiting, audit logging, or proxy-chain validation can receive incomplete data. This issue is fixed in version 4.12.27.
Title Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication
Weaknesses CWE-348
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-09T13:51:31.335Z

Reserved: 2026-07-07T16:40:07.984Z

Link: CVE-2026-59897

cve-icon Vulnrichment

Updated: 2026-07-09T13:51:28.103Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:00:03Z

Weaknesses
  • CWE-348

    Use of Less Trusted Source