CVE-2025-71381 in Hono
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Hono | Hono | < 4.10.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-71381 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Published | 2026-06-30 |
| Last modified | 2026-10-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-113: CWE-113
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-113
CAPEC-34 HTTP Response Splitting via CWE-113
CAPEC-85 AJAX Footprinting via CWE-113
CAPEC-105 HTTP Request Splitting via CWE-113
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A medium severity vulnerability (CVE-2025-71381) affects the target system. 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 manage...
Questions
What is CVE-2025-71381?
A medium severity vulnerability (CVE-2025-71381) affects the target system. 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 manage...
What is the CVSS score for CVE-2025-71381?
CVE-2025-71381 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2025-71381 actively exploited?
No confirmed active exploitation of CVE-2025-71381 as of 2026-11-03.
How do I remediate CVE-2025-71381?
Apply vendor patches for CVE-2025-71381. Monitor Hono advisories.
What systems are affected by CVE-2025-71381?
CVE-2025-71381 affects Hono Hono.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Hono","product":"Hono","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-29.