Vulnerability · Published Jul 15, 2026 · Assigned by VulnCheck
CVE-2026-56764Hono - Timing Attack in basicAuth and bearerAuth Middleware
Low 3.7
In plain English
A low-severity security flaw in Hono from Hono. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.3%top 77.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | hono | 4.11.10 | GHSA-gq3j-xvxp-8hrf |
Affected products (as reported)
Weakness: CWE-208 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- GitHub Security Advisory (GHSA-gq3j-xvxp-8hrf) vendor-advisory
- VulnCheck Advisory: Hono - Timing Attack in basicAuth and bearerAuth Middleware third-party-advisory