CVE-2026-56764Published Jul 15, 2026 · Jul 15Updated Oct 28
Hono - Timing Attack in basicAuth and bearerAuth Middleware
Hono
Medium6.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hono npm |
|
|
Original 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.
From the CVE record · VulnCheck