Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-290.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| honojs | hono | 4.12.0 to before 4.12.2 | 4.12.2 | Patch available | CNA |
| — | hono (npm) | 4.12.0 to before 4.12.2 | 4.12.2 | Patch available | GHSA-xh87-mx6m-69f3 |
- hono Vendorhonojs Affected 4.12.0 to before 4.12.2 Fixed in 4.12.2 Patch available CNA
- hono (npm) Vendor— Affected 4.12.0 to before 4.12.2 Fixed in 4.12.2 Patch available GHSA-xh87-mx6m-69f3
Remediation
- Fix · CNA hono (honojs) Fixed in 4.12.2
- Fix · GHSA-xh87-mx6m-69f3 hono (npm) Fixed in 4.12.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27700
- 2026-10-03 Alias added: GHSA-xh87-mx6m-69f3
References
Advisory 2
More honojs Hono vulnerabilities
- TI-2024-21741 Hono vulnerable to Restricted Directory Traversal in serveStatic with deno CVSS 3.1MEDIUM 5.3
- TI-2024-32610 Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header. CVSS 3.1MEDIUM 5.9
- TI-2024-29381 Hono CSRF middleware can be bypassed using crafted Content-Type header CVSS 3.1MEDIUM 5.0
- TI-2026-23190 Hono: Arbitrary file access via serveStatic vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-18334 JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback) CVSS 3.1HIGH 8.2
- TI-2026-18333 JWT Algorithm Confusion via Unsafe Default (HS256) in Hono JWT Middleware Allows Token Forgery and Auth Bypass CVSS 3.1HIGH 8.2
Sources
- CVE-2026-27700 · CVE Program
- CVE-2026-27700 · NVD
- FIRST EPSS
- GHSA-xh87-mx6m-69f3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences