CVE-2026-56764
MEDIUM 6.3CVSS 4.0Hono added timing comparison hardening in basicAuth and bearerAuth
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.
- Published
- 15 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-208
- Also known as
- GHSA-gq3j-xvxp-8hrf
- Sources
- NVDJSONOSV GHSA-gq3j-xvxp-8hrfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | hono | < 4.11.10 | 4.11.10 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf · WEB
- https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware
- https://github.com/honojs/hono/commit/91def7cab654bad5eecc9270e6620d577971ff5e · WEB
- https://github.com/honojs/hono · PACKAGE
- https://github.com/honojs/hono/releases/tag/v4.11.10 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Feb 2026)