Red Hat VEX
RHVEX-CVE-2026-126358
hono: hono: Authorization bypass via wildcard middleware omission in RegExpRouter
Details
A flaw was found in hono. An unauthenticated remote attacker can bypass authentication and authorization controls due to improper route matching in the RegExpRouter component. Under certain route configurations or when processing requests with encoded line terminators, middleware applied to wildcard paths may fail to execute. This vulnerability allows an attacker to access protected endpoints without undergoing required security checks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | grafana | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | grafana-selinux | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-126358
- https://bugzilla.redhat.com/show_bug.cgi?id=2572863
- https://www.cve.org/CVERecord?id=CVE-2026-126358
- https://nvd.nist.gov/vuln/detail/CVE-2026-126358
- https://github.com/honojs/hono/commit/8a103aa59bcfbffd5396b1548a0dff3688777c36
- https://github.com/honojs/hono/releases/tag/v4.13.16
- https://github.com/honojs/hono/security/advisories/GHSA-h7mg-cq63-vhpq