Input validation error in hono - CVE-2026-126356
Published: November 10, 2026 / Updated: November 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass form validation and submit fields the application intended to reject.
The vulnerability exists due to improper input validation in Hono's validator('form') middleware when strict Content-Type matching rejects multipart/form-data headers with additional parameters or whitespace, passing an empty object to validation instead. A remote attacker can send such requests to bypass field checks and deliver unvalidated fields to handlers if the validation callback accepts an empty object.