CVE-2026-126356 Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.5.1 until 4.13.16, validator('form') uses a strict whole-header pattern that fails to recognize multipart/form-data when its Content-Type includes another legal parameter or extra whitespace after a semicolon. The validation callback receives an empty object even though c.req.parseBody() or c.req.formData() can still parse and expose all submitted fields to the handler. An unauthenticated client can therefore bypass allow-list or required-field checks when the application relies on the form validator and its callback accepts an empty object. application/x-www-form-urlencoded requests are not affected. This issue is fixed in version 4.13.16.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm hono(npm) | >= 4.5.1, < 4.13.16; >= 4.5.1, <= 4.13.15 | 4.13.16 | Fixed |
| honojs hono | = >= 4.5.1, < 4.13.16 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm hono(npm) | >= 4.5.1, <= 4.13.15 | No fix listed |
| honojs hono | = >= 4.5.1, < 4.13.16 | No fix listed |
| npm hono(npm) | >= 4.5.1, < 4.13.16 | 4.13.16 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-4h7h-rv7c-7m2v vendor-advisory
- https://github.com/honojs/hono/commit/d88fab372415277a9e540e895650943dd08eef4a patch
- https://github.com/honojs/hono/releases/tag/v4.13.16
- github.com
- github.com product
- ENISA EUVD EUVD-2026-124736 third-party-advisory