# CVE-2025-71381: Hono - Vary Header Injection in CORS Middleware

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-30 · Modified: 2026-10-29
- Aliases: GHSA-q7jf-gf43-6x6p, CGA-5mjp-pc48-cq3f, CGA-6fpp-3w4h-r9cx, CGA-f96m-h997-gxxx, CGA-ffcm-46x7-8r63, CGA-g8q3-7v82-hqhm, CGA-g9w6-62vg-qcq5, CGA-gcc6-gc89-2vv8, CGA-mx7q-ghmp-c6vc, CGA-qh97-rxr3-qxch, CGA-v7j5-x6w4-5x53, CGA-vw22-3c5m-vmh7, CGA-vw4r-qjqx-4vp3, CGA-xqhm-qhmh-p933, CGA-xv93-5489-xc94
- Record: https://cvemate.com/vulnerability/CVE-2025-71381 · JSON: https://cvemate.com/vulnerability/CVE-2025-71381/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.3%, percentile 24.379%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard hono (Chainguard): All versions (No fix recorded)
- chainguard hono-adapter-mqtt (Chainguard): All versions (No fix recorded)
- chainguard hono-cli (Chainguard): All versions (No fix recorded)
- chainguard hono-compat (Chainguard): All versions (No fix recorded)
- chainguard hono-service-auth (Chainguard): All versions (No fix recorded)
- chainguard hono-service-command-router (Chainguard): All versions (No fix recorded)
- chainguard hono-service-device-registry-jdbc (Chainguard): All versions (No fix recorded)
- hono hono: \< 4.10.3
- Npm hono (Npm): \< 4.10.3

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p>
- <https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-71381>
- <https://github.com/honojs/hono/commit/d9b8b4b73b4f997994f2764013207365fe711282>
- <https://github.com/honojs/hono>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71381.json>

---

Data as of 2026-12-05T09:20:52.871Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
