{"id":"CVE-2025-71381","published":"2026-06-30T22:08:21Z","modified":"2026-10-29T21:15:18Z","title":"Hono - Vary Header Injection in CORS Middleware","vendor":"Hono","product":"Hono","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.14287,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-q7jf-gf43-6x6p","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/hono-vary-header-injection-in-cors-middleware","tags":["third-party-advisory"]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":2.86},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"hono","affectedVersions":[{"vendor":"Hono","product":"Hono","versions":["< 4.10.3"]}],"fixedVersions":[{"vendor":"Hono","product":"Hono","versions":["4.10.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-01T13:19:11.943471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.10.3"],"patched":["4.10.3"],"from":["GHSA-q7jf-gf43-6x6p"],"provenance":"source"}],"summary":{"text":"The Hono web framework (versions before 4.10.2, fixed in 4.10.3) has a flaw in its CORS middleware, which, when the allowed origin is not set to \"*\", copies the Vary header from the incoming request into the response without proper handling. An attacker who can send requests to an affected Hono application over the network, without authentication or user interaction, can supply arbitrary Vary values that are reflected into responses, which can pollute shared-cache keys and lead to inconsistent CORS enforcement where shared caches or proxies are in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:25Z"},"euvd":{"id":"EUVD-2025-210393","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-58362","published":"2025-09-04","fixed":"4.9.6","kev":false},{"cve":"CVE-2025-59139","published":"2025-09-12","fixed":"4.9.7","kev":false},{"cve":"CVE-2025-62610","published":"2025-10-22","fixed":"4.10.2","kev":false,"link":{"from":"CVE-2025-62610","to":"CVE-2025-71381","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:hono","fromFixed":"4.10.2","toFixed":"4.10.3","daysApart":251}]}},{"cve":"CVE-2025-71381","published":"2026-06-30","fixed":"4.10.3","kev":false},{"cve":"CVE-2026-22817","published":"2026-01-13","fixed":"4.11.4","kev":false},{"cve":"CVE-2026-22818","published":"2026-01-13","fixed":"4.11.4","kev":false},{"cve":"CVE-2026-24398","published":"2026-01-27","fixed":"4.11.7","kev":false}],"package":"npm:hono"}}