CVE-2026-56764
Deferred Deferred - Pending Action

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-08-04
AI Q&A
2026-07-15
EPSS Evaluated
2026-08-03
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 versions before 4.11.10. It affects the basicAuth and bearerAuth middlewares due to a non-constant-time string comparison in the timingSafeEqual function. Attackers can exploit early termination of string equality checks to infer valid credentials by measuring precise timing differences in responses.

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.

Impact Analysis

This vulnerability allows attackers to guess valid credentials by analyzing response timing. While exploitation requires controlled conditions, successful attacks could lead to unauthorized access to protected resources or data. The impact is higher in systems using basicAuth or bearerAuth for authentication.

Compliance Impact

This vulnerability may impact compliance with GDPR and HIPAA by potentially exposing sensitive data through unauthorized access. Organizations must ensure robust authentication mechanisms to meet regulatory requirements for data protection and access control.

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