What’s Vulnerable › Vulnerabilities
CVE-2026-56764: Hono - Timing Attack in basicAuth and bearerAuth Middleware
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-15 · updated 2026-10-24
- Weakness: CWE-208
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
- honojs hono: before 4.11.10 — fixed in 4.11.10
How to fix
Upgrade to a fixed version: honojs hono 4.11.10. Check the vendor advisory for mitigations.
References
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware
Get alerted when CVE-2026-56764 or the next vulnerability affects your stack