CVE-2026-56764
Received Received - Intake

Timing Attack in Hono Authentication Middleware

Vulnerability report for CVE-2026-56764, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-15

Last updated on: 2026-07-15

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-15
Last Modified
2026-07-15
Generated
2026-07-15
AI Q&A
2026-07-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-208 Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-56764 is a timing attack vulnerability in the Hono web framework affecting versions before 4.11.10. It involves the basicAuth and bearerAuth middlewares where a non-constant-time string comparison in the timingSafeEqual function allows attackers to infer valid credentials by measuring response timing differences.

Impact Analysis

Attackers could exploit this to guess valid credentials by analyzing timing differences in responses. However, exploitation requires highly controlled conditions and is considered unlikely in normal environments. The impact is limited to potential credential inference.

Detection Guidance

Detecting this vulnerability requires checking the version of Hono being used. Run 'npm list hono' or check your package.json to see if the installed version is less than 4.11.10. If so, the system is vulnerable.

Mitigation Strategies

Upgrade Hono to version 4.11.10 or later immediately. Use 'npm update hono' or adjust your package.json to specify the fixed version. No additional commands are needed beyond the upgrade.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56764. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart