{"id":"CVE-2026-56764","revision":"bf2359cea16d4aea98aa94f2a7cc310d","records":[{"revision":"bf2359cea16d4aea98aa94f2a7cc310d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-56764","aliases":[],"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.","state":0,"publishedAt":"2026-07-15T11:25:32.814+00:00","modifiedAt":"2026-07-15T13:50:24.7+00:00","affected":[{"ecosystem":"Vendor product","name":"Hono","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Hono\",\n                    \"product\": \"Hono\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/hono\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"4.11.10\"\n                        },\n                        {\n                            \"version\": \"4.11.10\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":3.7,"severity":"LOW"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-56764","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-56764","identifiers":["CVE-2026-56764"]},"retained":false,"historicalAffected":[]}],"coverage":[]}