CVE-2025-71381 MEDIUM

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

Vendor Hono
Product Hono
Weakness CWE-113 · HTTP response splitting
Published June 30, 2026
Last update July 1, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 30, 2026 CVE published
July 1, 2026 Record updated