CVE-2026-56764: Hono - Timing Attack in basicAuth and bearerAuth Middleware
Published Jul 15, 2026
·Updated
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 Software
1 affected component
npm/hono<4.11.10
Event History
Jul 15, 2026
CVE Published
via MITRE·11:25 AM
Data Sourced
via MITRE·11:25 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
What is the severity of CVE-2026-56764?
CVE-2026-56764 has a medium severity rating of 6.3.
2
How can I fix CVE-2026-56764?
To fix CVE-2026-56764, upgrade Hono to version 4.11.10 or later.
3
What type of attack is associated with CVE-2026-56764?
CVE-2026-56764 is associated with a timing attack vulnerability.
4
What components of Hono are affected by CVE-2026-56764?
CVE-2026-56764 affects the basicAuth and bearerAuth middlewares of Hono.
5
Can CVE-2026-56764 lead to credential exposure?
Yes, CVE-2026-56764 can allow attackers to infer valid credentials through timing differences.