CVE-2026-27700

Hono is a Web application framework that provides support for any JavaScript runtime. In versions 4.12.0 and 4.12.1, when using the AWS Lambda adapter (`hono/aws-lambda`) behind an Application Load Balancer (ALB), the `getConnInfo()` function incorrectly selected the first value from the `X-Forwarded-For` header. Because AWS ALB appends the real client IP address to the end of the `X-Forwarded-For` header, the first value can be attacker-controlled. This could allow IP-based access control mechanisms (such as the `ipRestriction` middleware) to be bypassed. Version 4.12.2 patches the issue.
Configurations

Configuration 1 (hide)

cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*

History

17 Jun 2026, 10:27

Type Values Removed Values Added
Summary
  • (es) Hono es un framework de aplicación web que proporciona soporte para cualquier entorno de ejecución de JavaScript. En las versiones 4.12.0 y 4.12.1, al usar el adaptador de AWS Lambda ('hono/aws-lambda') detrás de un Application Load Balancer (ALB), la función 'getConnInfo()' seleccionó incorrectamente el primer valor del encabezado 'X-Forwarded-For'. Debido a que AWS ALB añade la dirección IP del cliente real al final del encabezado 'X-Forwarded-For', el primer valor puede ser controlado por el atacante. Esto podría permitir que los mecanismos de control de acceso basados en IP (como el middleware 'ipRestriction') fueran eludidos. La versión 4.12.2 corrige el problema.

02 Mar 2026, 16:17

Type Values Removed Values Added
References () https://github.com/honojs/hono/commit/41adbf56e252c04611f8972364ac0887ae07a4c7 - () https://github.com/honojs/hono/commit/41adbf56e252c04611f8972364ac0887ae07a4c7 - Patch
References () https://github.com/honojs/hono/releases/tag/v4.12.2 - () https://github.com/honojs/hono/releases/tag/v4.12.2 - Product, Release Notes
References () https://github.com/honojs/hono/security/advisories/GHSA-xh87-mx6m-69f3 - () https://github.com/honojs/hono/security/advisories/GHSA-xh87-mx6m-69f3 - Vendor Advisory
First Time Hono hono
Hono
CPE cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*

25 Feb 2026, 16:23

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-25 16:23

Updated : 2026-06-17 10:27


NVD link : CVE-2026-27700

Mitre link : CVE-2026-27700

CVE.ORG link : CVE-2026-27700


JSON object : View

Products Affected

hono

  • hono
CWE
CWE-290

Authentication Bypass by Spoofing

CWE-345

Insufficient Verification of Data Authenticity