CVE-2025-71381: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
Affects honoSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 4.10.3 when convenient.
Data as of 16 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.10.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade hono to 4.10.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmhono | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update Hono to version 4.10.3 or later where the CORS middleware has been corrected to handle the Vary header exclusively as a response header. Applying this official fix resolves the vulnerability.
Description
A vulnerability in the Hono CORS middleware allowed attacker-controlled Vary headers from requests to be reflected in responses, potentially affecting cache behavior and causing inconsistent CORS enforcement. This issue impacts versions prior to 4.10.3. The vulnerability does not directly compromise confidentiality, integrity, or availability under default configurations but may lead to cache key pollution in environments using shared caches or proxies. A patch is available that corrects the middleware to manage the Vary header exclusively as a response header.
References
- github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-71381 (opens in a new tab)
- github.com/honojs/hono/commit/d9b8b4b73b4f997994f2764013207365fe711282 (opens in a new tab)
- github.com/honojs/hono (opens in a new tab)
- vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware (opens in a new tab)