CVE-2026-56764

Hono - Timing Attack in basicAuth and bearerAuth Middleware

State
Published
Severity
6.3 Medium
Published
Jul 15, 2026
Updated
Jul 15, 2026
Reserved
Jun 22, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NVulnCheck
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NVulnCheck

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
HonoHono
  • before 4.11.10Affected
  • 4.11.10Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.