CVE-2026-56764
published medium CVSS 4.0 · 6.3Hono - Timing Attack in basicAuth and bearerAuth Middleware
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hono | — | Hono0 to < 4.11.10 (affected · semver) · 4.11.10 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hono | Hono | 0 to < 4.11.10 (affected · semver)4.11.10 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-208 Observable Timing Discrepancy
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
Provider assertions
2VulnCheck · cna
Hono - Timing Attack in basicAuth and bearerAuth Middleware
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83e3fa021b0d4bbc64d3a52a0302f7110b1bb58aa4f7aa49267d60ef8199bb31
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record