Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control of Host header on victim MCP request
-
DeliveryVictim triggers mintTransferTool transfer
-
ExploitMalicious Host reflected into fs.download_url/upload_url
-
ExecutionCapture one-time download token or redirect upload
-
ImpactReplay token to exfiltrate victim files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker control or spoof the HTTP Host header observed on a victim's MCP request to the Nezha dashboard, because mintTransferTool constructs the fs.download_url and fs.upload_url transfer URLs directly from that unvalidated Host header (CWE-601). The attacker must therefore occupy a position that influences the reflected Host value - such as a misconfigured/trusting reverse proxy, DNS rebinding, or a man-in-the-middle on the victim's path - rather than being able to trigger it against a default, properly proxied deployment at will; this is reflected in the AC:H and AT:P metrics. Exploitation is further limited to Nezha versions 2.1.0 through 2.3.14 (fixed in 2.3.15) and depends on the victim actually invoking the MCP transfer tools; impact is constrained to redirected uploads and captured one-time download tokens (low confidentiality/integrity impact), not code execution. |
| Impact | This is a medium-severity issue (vendor CVSS 4.0 base 6.3) whose real-world urgency is tempered by its exploitation requirements. The provided CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) shows that while the vector is network-reachable and requires no privileges (PR:N), it carries both high attack complexity (AC:H) and a present attack requirement (AT:P) - meaning the attacker must be in a position to control or spoof the Host header actually seen on a victim's MCP request, which is not a condition an attacker can satisfy at will. Impact is explicitly limited (VC:L/VI:L/VA:N, no scope change), consistent with token capture and file redirect rather than full system compromise. No EPSS score, no CISA KEV listing, and no public POC were present in the input, so there is no signal of active or imminent mass exploitation; this reads as a legitimate but non-emergency defect rather than a high-CVSS-but-low-real-risk false alarm or a drop-everything priority. Note the only CVSS data supplied is a 4.0 vector - no CVSS 3.1 vector and no EPSS were provided, so cross-signal comparison is limited to the 4.0 metrics and the qualitative exploitation conditions. |
| Exploit ScenarioDerived | An attacker positioned to influence the Host header on a victim's Model Context Protocol (MCP) request to a Nezha dashboard (for example via a misconfigured reverse proxy, DNS rebinding, or a man-in-the-middle position) causes mintTransferTool to build fs.download_url and fs.upload_url pointing at an attacker-controlled host. The victim's file upload is redirected to the attacker, or the one-time download token is captured and replayed to exfiltrate files. No public exploit code was identified in the provided data, and the AC:H/AT:P metrics mean the attacker must already be able to manipulate the observed Host header. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Host header injection in Nezha 2.1.0 through 2.3.14 lets an attacker who can control or spoof the Host header on a victim's MCP request redirect file uploads and capture one-time download tokens that can be replayed to exfiltrate files. The flaw is in mintTransferTool, which builds the fs.download_url and fs.upload_url transfer links from the unvalidated Host header, so the observable impact is limited to low confidentiality and integrity loss rather than code execution. Exploitation is unauthenticated per the CVSS vector (PR:N) but conditional on the attacker influencing the reflected Host value - for example through a misconfigured or trusting reverse proxy, DNS rebinding, or a man-in-the-middle position on the victim's path - and on the victim actually invoking the MCP transfer tools. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor has shipped a fix in Nezha 2.3.15.
RemediationAI
Upgrade to Nezha 2.3.15 or later, which is the vendor-released fix referenced by the advisory version range and implemented in commits 36b742a7e9a81ed782363dd19efd77b7030fbd0f and c726930833937a0aebb2a924064f236faea889f6 (see advisories GHSA-rj3w-jrj7-x7c3 and https://www.vulncheck.com/advisories/nezha-2.1.0-before-2.3.15-host-header-injection-via-mcp-transfer-tools); the fix requires the dashboard host to be an operator-declared value, so after upgrading set the DashboardHost configuration to the legitimate public dashboard hostname, because MCP transfer URL minting will otherwise fail closed with a host-not-configured error and file transfers will break. If upgrading cannot be done immediately, the most effective compensating control is to normalize and enforce an allowlist of accepted Host values at the front-end reverse proxy (reject or rewrite any unknown Host before it reaches the dashboard); this restores the trusted-host assumption the code lacked, but the trade-off is that access via alternate or internal hostnames breaks unless they are explicitly added. As a narrower alternative, disable or block the dashboard MCP file-transfer endpoints until the patch is applied, accepting the loss of the transfer feature, and restrict network access to the dashboard/MCP listener so only trusted clients can reach it, which reduces but does not eliminate the risk from an attacker already positioned to influence the Host header.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nezha (nezhahq/nezha) is an open-source server monitoring and management dashboard written in Go whose dashboard exposes MCP (Model Context Protocol) tooling, including a file-transfer tool implemented as mintTransferTool. That function constructed bearer transfer URLs - fs.download_url and fs.upload_url - directly from the HTTP Host header of the incoming request instead of from a trusted, operator-declared dashboard host. Because the Host header is attacker-influenced in the conditions described above, the resulting links handed back to the MCP client pointed at an attacker-selected origin, which is the classic CWE-601 URL-redirection-to-untrusted-site pattern and enables redirection of uploads and capture and replay of one-time download tokens. The CPE cpe:2.3:a:nezhahq:nezha:*:*:*:*:*:*:*:* with the advisory's stated range places affected builds at 2.1.0 through 2.3.14, with 2.3.15 as the fixed release. The upstream fix (commits 36b742a7e9a81ed782363dd19efd77b7030fbd0f and c726930833937a0aebb2a924064f236faea889f6) introduces a ConfigDashboard.DashboardHost operator declaration and a new error, errMCPTransferHostNotConfigured, so an MCP transfer URL is never reflected from an untrusted request Host; the same commit set also adds unrelated hardening, capping file-manager WebSocket input at 1 MiB and redacting DDNS webhook URL and request-body fields in list responses.
Know when Nezha gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N) but attacker must control the reflected Host header on a victim request, so AC:H; redirect yields only limited token/file exposure, hence C:L/I:L/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Nezha from 2.1.0 before 2.3.15 contains a host header injection vulnerability in mintTransferTool that builds fs.download_url and fs.upload_url transfer URLs from the unvalidated Host header. Attackers who control the Host header seen on a victim's MCP request can redirect file uploads or capture one-time download tokens and replay them to exfiltrate files.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Nezha Dashboard Access Control and Disclosure Flaws
View all 5Host header injection in Nezha 2.2.3's OAuth2 redirect endpoint (/api/v1/oauth2/{provider}) allows an unauthenticated re
Unauthenticated path traversal in Nezha Monitoring (nezhahq/nezha) before 2.0.13 allows remote attackers to read arbitra
Cross-tenant session hijacking in Nezha Monitoring (v1.14.13-1.14.14 and v2.0.0-2.0.9) lets any authenticated low-privil
Permanent deadlock of the alerting subsystem in Nezha Dashboard 1.8.0 through 2.3.12 allows any authenticated non-admin
Authenticated privilege escalation in Nezha Dashboard before 2.3.5 lets any account holding the nezha:service:write scop
Denial of service in the Nezha monitoring dashboard before 2.3.8 lets any authenticated non-administrator account crash
Nezha Monitoring versions prior to 2.2.5 expose stored third-party API credentials in plaintext through two listing API
Host header injection in Nezha Monitoring versions 1.0.0 through 2.2.0 allows unauthenticated remote attackers to redire
Unbounded WebSocket stream allocation in Nezha Monitoring versions 1.0.0 through 2.1.x allows any authenticated dashboar
EUVD-2026-102566
GHSA-7fqg-h9rw-ww63
NVD
CVE.org
EPSS
Exploit-DB