CVE-2026-126356

Description

A flaw was found in Hono. A remote, unauthenticated attacker can bypass application input validation by submitting a multipart form request containing extra parameters or whitespace in the Content-Type header. Because the framework's form validator fails to recognize these headers, it skips validation checks while the application continues to parse and process the submitted data. Consequently, an attacker can bypass required-field and allowlist controls, allowing unvalidated input to reach application handlers.

Statement

This vulnerability is rated as Moderate impact because successful exploitation requires specific application-level preconditions, limited to bypassing input schema filtering without directly leading to code execution or confidentiality disclosure. The issue only manifests in deployments where services utilize Hono's form validation middleware for multipart data and route handlers continue processing unvalidated fields. Red Hat platforms do not package or enable this framework by default, minimizing exposure in standard enterprise environments.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/A5.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Understanding the Weakness (CWE)

Access Control

Technical Impact: Bypass Protection Mechanism; Varies by Context

An overly restrictive regexp misses some potentially security-relevant values, leading to either false positives *or* false negatives, depending on how the regexp is being used within the code.

Frequently Asked Questions

Want to get errata notifications? Sign up here.