OpenAIHonoFeb 23, 2026, 7:25 AM

v4.12.2

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

v4.12.2: Security fix for X-Forwarded-For handling in AWS Lambda (ALB)

Key Points

  • Security fix for X-Forwarded-For handling
  • Impacts AWS Lambda adapter behind ALB
  • Upgrade to v4.12.2 recommended

Summary

v4.12.2 addresses a security issue (GHSA-xh87-mx6m-69f3) where the AWS Lambda adapter running behind an Application Load Balancer (ALB) could incorrectly handle the X-Forwarded-For header, potentially allowing IP-based access control bypass. The release reverts PR #4707 (see #4757) and applies the corrective change.

Key Points

  • Security fix: correct X-Forwarded-For parsing/handling in the AWS Lambda adapter when behind ALB to prevent IP-based access control bypass.
  • Advisory: GHSA-xh87-mx6m-69f3; fix authored/merged by yusukebe and EdamAme-x.
  • Change: revert of PR #4707 in PR #4757 with a minimal corrective commit.

Recommended actions for engineers

  • Upgrade to hono v4.12.2 immediately if you use the AWS Lambda adapter behind an ALB.
  • Verify that client IP extraction and any IP-based access controls behave as expected after the upgrade.
  • Audit middleware and proxy configurations that modify X-Forwarded-For to ensure the correct client IP is preserved and trusted.
  • Run integration tests for ALB/Lambda deployments and update dependency lockfiles as needed.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

v4.12.2

v4.12.2

公開日: 2026-02-23T07:25:38.000Z

  • リリース担当: @yusukebe(released 23 Feb 07:25)
  • このリリース以降 main へのコミット数: 42 commits
  • コミット: df97e5f

セキュリティ修正

  • 修正内容: AWS Lambda adapter が ALB の背後で動作する場合における X-Forwarded-For の誤った処理により、IP ベースのアクセス制御をバイパスできる可能性がありました。これを修正しました。
  • 詳細: GHSA-xh87-mx6m-69f3
  • 貢献: Thanks @EdamAme-x

変更点

  • fix(context): revert PR #4707 by @yusukebe in #4757

フルチェンジログ

  • v4.12.1...v4.12.2

コントリビューター

  • yusukebe
  • EdamAme-x

アセット

  • 2 アセット

リアクション

  • 👍 8: binishjoshi, orielhaim, kfly8, lukavada, maciejcieslar, JoeskiG, alexasomba, yunusemreaksu
  • 🎉 3: rwdr0, orielhaim, binishjoshi
  • ❤️ 2: peterhirn, sant123
  • 🚀 1: meitrix8208

合計: 12 人がリアクションしました

v4.12.2 | Hono | DocsDigest