Home › CVE › JavaScript
CVE-2026-126356 — Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
One of 5 npm:hono vulnerabilities published together by GitHub Advisory: our article covers all of them.
JavaScriptWebVulnerabilitiesResearch article
HonoJS Form Validation Flaw Enables Bypass of Security Mechanisms
| CVE | CVE-2026-126356 |
|---|---|
| Vendor and product | npm:hono; honojs hono |
| Published | November 22, 2026 06:50 UTC |
| Research cut-off | November 22, 2026 06:40 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-11-13); CISA KEV catalog; GitHub advisory (2026-11-12); FIRST EPSS (2026-11-21) |
Executive summary
CVE-2026-126356 impacts the honojs hono library, with a CVSS 3.1 score of 5.3 MEDIUM, assessed by security-advisories@github.com [1]. This vulnerability allows unauthenticated users to circumvent form validation by sending specially crafted multipart/form-data requests [3]. The reviewed sources do not provide evidence of exploitation [2]. The recommended action is to upgrade to the fixed version 4.13.16 [3].
Key points
- CVE-2026-126356 affects the honojs hono library with a CVSS 3.1 score of 5.3 MEDIUM [1].
- The flaw allows unauthenticated clients to bypass form validation by sending specially crafted multipart/form-data requests [3].
- The reviewed sources do not report exploitation [2].
- The fixed version of the affected product is 4.13.16 [3].
- Developers should ensure the `validator('form')` callback rejects empty objects or validate the parsed body in the handler [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-126356 | honojs | hono | CWE-20 | 5.3 MEDIUM, scored by security-advisories@github.com [1] | 2026-11-13T00:20:10 | 2026-11-13T02:18:52 | Deferred |
Vulnerability description
The validator('form') function in the hono library fails to validate multipart/form-data requests that include parameters beyond the boundary value, such as charset or extra spaces after the semicolon [3]. This enables an unauthenticated client to submit form fields that are not checked by the form validator, which could allow malicious data to reach the application handler [3].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability is accessible via the network (AV:N), requires no user privileges (PR:N), and no interaction (UI:N). The integrity impact is low (I:L), while confidentiality and availability are unaffected (C:N, A:N) [1].
Impact analysis
The CVSS vector suggests a low impact on integrity (I:L), with no effect on confidentiality (C:N) or availability (A:N). The vulnerability description notes that an unauthenticated client can submit form fields the validator does not inspect, potentially bypassing intended security checks [3].
Affected products and versions
| Affected | Fixed |
|---|---|
| hono >= 4.5.1, < 4.13.16 | 4.13.16 [3] |
Exploitation and threat intelligence status
CVE-2026-126356 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-22 [2]. The EPSS score for this vulnerability is 0.0039 (0.39%), with a percentile of 0.3410, an estimated probability of exploitation activity in the next 30 days [4].
Detection and exposure assessment
Users can determine if they are exposed by checking if their installed version of hono is within the affected range: >= 4.5.1 and < 4.13.16 [3].
Remediation
The fixed version of the affected product is 4.13.16 [3]. Developers should ensure the validator('form') callback rejects empty objects, or validate the parsed body in the handler to avoid bypassing form validation [3].
Remediation checklist
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not provide a specific workaround.
- The sources do not detail a specific exploitation scenario.
- The sources do not include indicators of compromise.
- The sources do not list a fixed version for all affected products.
References
- CVE-2026-126356 record. NIST National Vulnerability Database (NVD), 2026-11-13. https://nvd.nist.gov/vuln/detail/CVE-2026-126356. Accessed 2026-11-22.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-22. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-22.
- GHSA-4h7h-rv7c-7m2v / CVE-2026-126356 — Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters. GitHub Security Advisory Database, 2026-11-12. https://github.com/advisories/GHSA-4h7h-rv7c-7m2v. Accessed 2026-11-22.
- EPSS score for CVE-2026-126356. FIRST, 2026-11-21. https://api.first.org/data/v1/epss?cve=CVE-2026-126356. Accessed 2026-11-22.
Severity breakdown
Medium · 5.3
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on integrity, none on confidentiality and availability
Weakness
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| hono (npm) | ≥ 4.5.1, ≤ 4.13.15 | 4.13.16 |
| honojs hono | >= 4.5.1, < 4.13.16 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/honojs/hono/commit/d88fab372415277a9e540e895650943dd08eef4a
- github.com/honojs/hono/releases/tag/v4.13.16
Other references
Details
Summary
validator('form') only recognizes a multipart/form-data Content-Type that carries nothing but a single boundary parameter. A request with another legal parameter, such as charset, or with extra whitespace after the ; is not recognized as a form. The validation callback then receives an empty object, while c.req.parseBody() still parses the body as a form.
Details
The check that decides whether a request body is a form was written as a strict pattern over the whole Content-Type value. Any parameter list that does not look exactly like ; boundary=... fails the check. When it fails, the middleware does not read the body and passes an empty object to the validation callback. If the callback accepts an empty object, the request proceeds to the handler, which can still read all submitted fields through c.req.parseBody() or c.req.formData().
application/x-www-form-urlencoded is not affected. Only the multipart/form-data branch has the strict pattern.
This issue arises when an application relies on validator('form') to reject or restrict fields and the validation callback does not fail on an empty object.
Impact
An unauthenticated client can send form fields that the form validator never sees, by adding a legal parameter to the Content-Type header.
This may lead to:
- Allow-list or required-field checks in the validator being skipped
- Fields the application intended to reject reaching the handler
This issue affects applications that use validator('form') with multipart/form-data requests and whose validation callback accepts an empty object.
Workarounds
Reject an empty object in the validator('form') callback, or validate the result of await c.req.parseBody() in the handler.
Affected
- npm:hono
- honojs hono
Frequently asked questions
What is CVE-2026-126356?
CVE-2026-126356 impacts the honojs hono library, with a CVSS 3.1 score of 5.3 MEDIUM, assessed by security-advisories@github.com. This vulnerability allows unauthenticated users to circumvent form validation by sending specially crafted multipart/form-data requests. The reviewed sources do not provide evidence of exploitation. The recommended action is to upgrade to the fixed version 4.13.16. Weakness type: Improper Input Validation (CWE-20).
How severe is CVE-2026-126356?
CVE-2026-126356 has a CVSS 3.1 base score of 5.3 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-126356 being exploited?
Not as far as is known: CVE-2026-126356 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126356?
hono (npm) ≥ 4.5.1, ≤ 4.13.15 (fixed in 4.13.16); honojs hono >= 4.5.1, < 4.13.16.
How do I fix CVE-2026-126356?
Upgrade the hono library to version 4.13.16 to resolve the vulnerability. Ensure the validator('form') callback rejects empty objects to prevent bypassing form validation. Validate the parsed body content before processing the request to reduce potential security risks.