CVE-2026-56764
6.3
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
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Hono | Hono | 0 < 4.11.10 | affected |
| Hono | Hono | 4.11.10 | unaffected |
Weaknesses
- CWE-208: Observable Timing Discrepancy
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.