Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-47673 EUVD-2026-32927GHSA-f577-qrjj-4474

Hono: JWT middleware accepts any Authorization scheme, not only Bearer

Published May 28, 2026 · Updated May 30, 2026 · Assigned by GitHub_M

Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the jwt and jwk middlewares do not verify that the Authorization header value uses theBearer scheme. Any two-part header value — regardless of the scheme name in the first position — proceeds to JWT verification. A request presenting a valid JWT under a non-Bearer scheme identifier (such as Basic or Token) is authenticated identically to a correctly formed Bearer request. This vulnerability is fixed in 4.12.21.

Affected products

VendorProductAffectedFixed
honojs hono < 4.12.21 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.12.21 4.12.21 GHSA-f577-qrjj-4474

References