Duplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
Moderate severity
GitHub Reviewed
Published
Jul 1, 2026
to the GitHub Advisory Database
•
Updated Oct 2, 2026
Withdrawn
This advisory was withdrawn on Oct 2, 2026
Description
Published by the National Vulnerability Database
Jun 30, 2026
Published to the GitHub Advisory Database
Jul 1, 2026
Reviewed
Oct 2, 2026
Withdrawn
Oct 2, 2026
Last updated
Oct 2, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-q7jf-gf43-6x6p. This link is maintained to preserve external references.
Original Description
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.
References