Bug 2572859 (CVE-2026-126357)

Summary: CVE-2026-126357 hono: Hono: Authorization bypass via improper path forwarding in mounted routes
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dhanak, drosa, dsimansk, dymurray, jlanda, jwong, kingland, kshier, lchilton, mnovotny, rbobbitt, rhel-process-autobot, sausingh, sdawley, sfeifer, simaishi, stcannon, tguha, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Hono. An unauthenticated remote attacker can bypass authentication and authorization controls by sending requests with crafted URL paths to mounted applications. Due to improper path handling and normalization during request forwarding, the framework may forward manipulated requests directly to restricted endpoints without applying the intended security middleware.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578332    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-12 22:31:19 UTC
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.13.16, mount() and app.mount() can remove a dynamic mount prefix using the route-pattern length rather than the matched-prefix length, allowing a crafted path to be forwarded as a protected inner route while the outer application routes the original path. Since 4.12.21, rebuilding the forwarded URL from the decoded pathname can also convert a decoded backslash to a slash and collapse parent-directory segments, again causing the mounted application to receive a protected path. An unauthenticated client can use either applicable path transformation to reach a mounted route without authentication or authorization middleware scoped to a subpath inside the mount prefix. This issue is fixed in version 4.13.16.