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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Hono | Hono | < 4.11.10 | 4.11.10 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.6-0.2.hum1 | RHSA-2026:47619 |
| Red Hat Hardened Images 1 | grafana13.1 | 13.1.1-0.2.hum1 | RHSA-2026:47618 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | hono | < 4.11.10 | 4.11.10 | GHSA-gq3j-xvxp-8hrf |
Advisories 2
- RHSA-2026:47619 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:47618 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 7, 2026
References
- GitHub Security Advisory (GHSA-gq3j-xvxp-8hrf) vendor-advisory
- VulnCheck Advisory: Hono - Timing Attack in basicAuth and bearerAuth Middleware third-party-advisory