Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.2

CVE-2026-27700: Hono 4.12.0‑4.12.1 allows IP spoofing to bypass access controls

CVE-2026-27700 · published 8 months ago
Summary

The Hono web framework’s AWS Lambda adapter in versions 4.12.0 and 4.12.1 can be tricked by a forged X‑Forwarded‑For header, letting an attacker appear to come from an allowed IP address. This lets IP‑based restrictions be ignored, potentially exposing protected functions. Upgrade to version 4.12.2 or later to fix the issue.

What to do
  • Update yusukebe hono to version 4.12.2.
  • Update hono hono to version 4.12.2 or later.
Affected software
Ecosystem VendorProductAffected versions
npm yusukebe hono >= 4.12.0, < 4.12.2
Fix: upgrade to 4.12.2
– hono hono >= 4.12.0, < 4.12.2
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*
Original advisory text
Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo
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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker partial control
Severity
8.2 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-290Authentication Bypass by Spoofing
CWE-345Insufficient Verification of Data Authenticity
Timeline
Published25 Feb 2026
Updated4 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta