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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203