Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
nezhahq nezha
Default version status: unaffected
2.1.0 to < 2.3.15affected2.3.15unaffected
pkg:golang/github.com/nezhahq/nezhaReferences
- https://github.com/nezhahq/nezha/security/advisories/GHSA-rj3w-jrj7-x7c3 ↗
- https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f ↗
- https://github.com/nezhahq/nezha/commit/c726930833937a0aebb2a924064f236faea889f6 ↗
- https://www.vulncheck.com/advisories/nezha-2.1.0-before-2.3.15-host-header-injection-via-mcp-transfer-tools ↗