CVE-2026-126358
Last modified
CVE-2026-126358 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware.
Description
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware. The default SmartRouter selects RegExpRouter for most applications, and the router's registration-time coverage calculation treated the first two matching pattern pairs as different while its compiled wildcard did not match line terminators in the third case. An unauthenticated client can reach a route handler or the not-found handler without authentication or authorization middleware registered on the wildcard path. TrieRouter, LinearRouter, and PatternRouter apply the middleware in the three described cases. This issue is fixed in version 4.13.16.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-126358?
How severe is CVE-2026-126358?
How do I fix CVE-2026-126358?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126352Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-126353Addressable is an alternative implementation to the URI impl…5.9
- CVE-2026-126354Addressable is an alternative implementation to the URI impl…4.8
- CVE-2026-126355Hono is a Web application framework that provides support fo…5.3
- CVE-2026-126356Hono is a Web application framework that provides support fo…5.3
- CVE-2026-126357Hono is a Web application framework that provides support fo…5.3
- CVE-2026-126359Hono is a Web application framework that provides support fo…3.4
- CVE-2026-126360OpenTelemetry Python provides the Python API and SDK for Ope…5.3
- CVE-2026-126361Astro is a web framework for content-driven websites. Prior …2.3
- CVE-2026-126362Astro is a web framework for content-driven websites. From 5…2.3
- CVE-2026-126363Astro is a web framework for content-driven websites. From 0…2.3
- CVE-2026-126364Astro is a web framework for content-driven websites. From 5…6.3
Are you affected by CVE-2026-126358?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
