REDHAT-BUG-2500893: Low severity npm/hono vulnerability

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
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What does an attacker need in order to exploit this issue?

An attacker needs the ability to make authentication requests to an application using Hono's basicAuth or bearerAuth middleware and collect precise timing measurements. The timing differences may allow inference of valid credentials.

2

Which authentication mechanisms are affected?

The issue affects Hono's basicAuth and bearerAuth middlewares. It is caused by non-constant-time string comparison in the timingSafeEqual function.

3

Which versions should be investigated?

Hono versions before 4.11.10 are described as affected. Deployments using the npm/hono package should identify whether they use either affected authentication middleware.

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