CVE-2025-71381: Hono - Vary Header Injection in CORS Middleware
Vulnerability summary
CVE-2025-71381 is a medium (CVSS 6.9) vulnerability in hono. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24.3% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 1 · Downstream 0Timeline
- 30-06-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
Description
Hono before 4.10.3 contains a flaw in its CORS middleware: when the origin is not set to "*", the middleware copies the Vary header from the incoming request into the response. Because Vary is a response header that should be managed by the server, an attacker can supply arbitrary Vary values that are reflected into the response, potentially causing cache key pollution and inconsistent CORS enforcement in environments that rely on shared caches or proxies.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · NpmEcosystem advisory · calculated4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard7 products
- honoAll versions (No fix recorded)
- hono-adapter-mqttAll versions (No fix recorded)
- hono-cliAll versions (No fix recorded)
- hono-compatAll versions (No fix recorded)
- hono-service-authAll versions (No fix recorded)
Hono1 product
- hono< 4.10.3
Npm1 product
- hono< 4.10.3
3 vendors · 9 products
References
6 links- www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middlewareThird Party AdvisoryWEBAdvisory
- github.com/honojs/honoPACKAGE