CVE-2026-56764
LOW
3.7
CVSS 3.1
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.
Metadata
Severity & Metrics
3.7
LOW CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| Hono | Hono | — | 0 < 4.11.10, 4.11.10 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-208 | cna | Observable Timing Discrepancy |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.3 | MEDIUM | 4.0 | cna | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| 3.7 | LOW | 3.1 | cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (2)
- GitHub Security Advisory (GHSA-gq3j-xvxp-8hrf) https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf
- VulnCheck Advisory: Hono - Timing Attack in basicAuth and bearerAuth Middleware https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware