Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2026-27700

CVE-2026-27700: Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo

February 25, 2026 (updated February 27, 2026)

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.

References

  • github.com/advisories/GHSA-xh87-mx6m-69f3
  • github.com/honojs/hono
  • github.com/honojs/hono/commit/41adbf56e252c04611f8972364ac0887ae07a4c7
  • github.com/honojs/hono/releases/tag/v4.12.2
  • github.com/honojs/hono/security/advisories/GHSA-xh87-mx6m-69f3
  • nvd.nist.gov/vuln/detail/CVE-2026-27700

Code Behaviors & Features

Detect and mitigate CVE-2026-27700 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.12.0 before 4.12.2

Fixed versions

  • 4.12.2

Solution

Upgrade to version 4.12.2 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-290: Authentication Bypass by Spoofing
  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/hono/CVE-2026-27700.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:16:48 +0000.