CVE-2025-71381

published 30 Jun 2026 · updated 29 Oct 2026

Hono - Vary Header Injection in CORS Middleware

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.10.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Hono<4.10.34.10.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71381 severity on Zeptric[![CVE-2025-71381](https://zeptric.io/badge/cve/CVE-2025-71381.svg)](https://zeptric.io/cve/CVE-2025-71381)