# CVE-2026-56764: Hono - Timing Attack in basicAuth and bearerAuth Middleware

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-02-19T20:15:59.000Z
- Modified: 2026-10-24T22:10:00.210Z
- Also known as: GHSA-gq3j-xvxp-8hrf
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Hono Hono: before 4.11.10 (not affected: 4.11.10)
- hono (npm): before 4.11.10

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-gq3j-xvxp-8hrf> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/hono-timing-attack-in-basicauth-and-bearerauth-middleware> (third-party-advisory)
- <https://github.com/honojs/hono/commit/91def7cab654bad5eecc9270e6620d577971ff5e> (web)
- <https://github.com/honojs/hono> (package)
- <https://github.com/honojs/hono/releases/tag/v4.11.10> (web)

## Sources

- CVE List: [CVE-2026-56764](https://www.cve.org/CVERecord?id=CVE-2026-56764), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-gq3j-xvxp-8hrf](https://github.com/advisories/GHSA-gq3j-xvxp-8hrf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56764](https://nvd.nist.gov/vuln/detail/CVE-2026-56764), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-56764 · Whole record: https://cve.day/CVE-2026-56764.json · Rebuilt by cve.day 2026-11-25T22:59:28.265Z
