{"id":"CVE-2026-56764","state":"PUBLISHED","title":"Hono - Timing Attack in basicAuth and bearerAuth Middleware","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.","publishedAt":"2026-07-15T11:25:32.814Z","updatedAt":"2026-07-15T13:50:24.700Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Hono Hono"],"affected":[{"vendor":"Hono","product":"Hono","packageURL":"pkg:npm/hono","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.11.10","versionType":"semver"},{"version":"4.11.10","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf","https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware"],"weaknesses":["CWE-208"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/56xxx/CVE-2026-56764.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-56764","state":"PUBLISHED","datePublished":"2026-07-15T11:25:32.814Z","dateUpdated":"2026-07-15T13:50:24.700Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-22T21:55:17.942Z"},"containers":{"cna":{"title":"Hono - Timing Attack in basicAuth and bearerAuth Middleware","descriptions":[{"lang":"en","value":"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":[{"vendor":"Hono","product":"Hono","packageURL":"pkg:npm/hono","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.11.10","versionType":"semver"},{"version":"4.11.10","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf","name":"GitHub Security Advisory (GHSA-gq3j-xvxp-8hrf)","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware","name":"VulnCheck Advisory: Hono - Timing Attack in basicAuth and bearerAuth Middleware","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","lang":"en","description":"Observable Timing Discrepancy","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-15T11:25:32.814Z"},"datePublic":"2026-02-18T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*","versionEndExcluding":"4.11.10"}]}]}],"credits":[{"lang":"en","value":"Exagone313","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T13:49:48.538159Z","id":"CVE-2026-56764","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T13:50:24.700Z"}}]}}}