cve.bz

CVE-2026-126356

Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters

5.3 mediumFix available

Medium (5.3) in honojs hono. Fixed in hono 4.13.16.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CWEs
CWE-20 Improper Input Validation
CWE-1471 Insufficiently Controlled Parser Differential
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-126356 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-126356?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-126356?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-126356 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-126356

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-126356](https://cve.bz/cve/badge/CVE-2026-126356.svg)](https://cve.bz/cve/CVE-2026-126356)

HTML:

<a href="https://cve.bz/cve/CVE-2026-126356"><img src="https://cve.bz/cve/badge/CVE-2026-126356.svg" alt="CVE-2026-126356"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
honojs hono>= 4.5.1, < 4.13.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4h7h-rv7c-7m2vnpmhono>=4.5.1 <4.13.164.13.16

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON