Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-56764

Hono - Timing Attack in basicAuth and bearerAuth Middleware

Description

Hono before 4.11.10 contains a timing attack vulnerability in the basicAuth and bearerAuth middlewares due to non-constant-time string comparison in the timingSafeEqual function. Attackers can exploit early termination of string equality checks to infer valid credentials through precise timing measurements.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Hono Hono

Default version status: unaffected

  • 0 to < 4.11.10affected
  • 4.11.10unaffected
pkg:npm/hono

References