---
id: CVE-2026-111385
title: Nezha 2.1.0 before 2.3.15 Host Header Injection via MCP Transfer Tools
summary: >-
  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…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-601
vendor: nezhahq
product: nezha
affected:
  - nezha >= 2.1.0 < 2.3.15
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T01:17:54.057Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111385'
references:
  - url: 'https://github.com/nezhahq/nezha/security/advisories/GHSA-rj3w-jrj7-x7c3'
    label: GitHub Security Advisory (GHSA-rj3w-jrj7-x7c3)
  - url: >-
      https://github.com/nezhahq/nezha/commit/36b742a7e9a81ed782363dd19efd77b7030fbd0f
    label: Patch Commit
  - url: >-
      https://github.com/nezhahq/nezha/commit/c726930833937a0aebb2a924064f236faea889f6
    label: Patch Commit
  - url: >-
      https://www.vulncheck.com/advisories/nezha-2.1.0-before-2.3.15-host-header-injection-via-mcp-transfer-tools
    label: >-
      VulnCheck Advisory: Nezha 2.1.0 before 2.3.15 Host Header Injection via
      MCP Transfer Tools
tags:
  - cve.org
ingestedAt: '2026-10-16T01:55:57.992Z'
---

## Overview

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

- `nezha >= 2.1.0 < 2.3.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
