Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-56764 EUVD-2026-44631GHSA-98q5-3v5r-qvfhGHSA-gq3j-xvxp-8hrf

Hono - Timing Attack in basicAuth and bearerAuth Middleware

Published Jul 15, 2026 · Updated Jul 15, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
Hono Hono < 4.11.10 4.11.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.6-0.2.hum1 RHSA-2026:47619
Red Hat Hardened Images 1 grafana13.1 13.1.1-0.2.hum1 RHSA-2026:47618

Affected packages

EcosystemPackageAffectedFixedRecord
npm hono < 4.11.10 4.11.10 GHSA-gq3j-xvxp-8hrf

Advisories 2

References