Bug 2495425 (CVE-2025-71381) - CVE-2025-71381 Hono: Hono: Potential CORS bypass via Vary Header Injection
Summary: CVE-2025-71381 Hono: Hono: Potential CORS bypass via Vary Header Injection
Keywords:
Status: NEW
Alias: CVE-2025-71381
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-30 23:02 UTC by OSIDB Bzimport
Modified: 2026-08-10 08:07 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-30 23:02:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.