CVE-2026-56764
Hono - Timing Attack in basicAuth and bearerAuth Middleware
- State
- Published
- Severity
- 6.3 Medium
- Published
- Jul 15, 2026
- Updated
- Jul 15, 2026
- Reserved
- Jun 22, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | VulnCheck |
Weaknesses
- CWE-208 Observable Timing Discrepancy
Affected Products
| Product | Versions |
|---|---|
HonoHono |
|
References
- GitHub Security Advisory (GHSA-gq3j-xvxp-8hrf)vendor-advisory
- VulnCheck Advisory: Hono - Timing Attack in basicAuth and bearerAuth Middlewarethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.