CVE-2025-71381 PUBLISHED

Hono - Vary Header Injection in CORS Middleware

Assigner: VulnCheck
Reserved: 20.06.2026 Published: 30.06.2026 Updated: 01.07.2026

Hono before 4.10.2 (fixed in 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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor Hono
Product Hono
Versions Default: unaffected
  • affected from 0 to 4.10.2 (excl.)
  • Version 4.10.2 is unaffected

References

Problem Types

  • Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') CWE