---
id: CVE-2026-104102
title: copyparty is a portable file server
summary: >-
  copyparty is a portable file server. Prior to 1.20.19, FTP upload path
  handling does not confine destinations to configured copyparty volumes. When
  FTP or FTPS is explicitly enabled, a low-privileged authenticated user can
  submit travers…
severity: medium
cwe:
  - CWE-22
published: '2026-10-12'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T17:17:15.633'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104102'
references:
  - url: >-
      https://github.com/9001/copyparty/commit/b331bb1c8c8cc306b91e4d94221969335a7a3e86
    label: security-advisories@github.com
  - url: 'https://github.com/9001/copyparty/releases/tag/v1.20.19'
    label: security-advisories@github.com
  - url: 'https://github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9'
    label: security-advisories@github.com
  - url: 'https://github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9'
    label: security-advisories@github.com
  - url: 'https://github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9'
    label: security-advisories@github.com
  - url: 'https://github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104102'
  - url: 'https://github.com/advisories/GHSA-phv8-wgjp-g4p9'
  - url: 'https://github.com/9001/copyparty'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - osv
epss: 0.00313
epssPercentile: 0.24059
ingestedAt: '2026-10-12T20:03:12.350Z'
vendor: '9001'
product: copyparty
affected:
  - copyparty < 1.20.19
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:H/SI:H/SA:N'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-13T16:30:31.058298Z'
cvssSource: cna
aliases:
  - GHSA-phv8-wgjp-g4p9
ecosystem: pip
patched:
  - copyparty 1.20.19
---

## Overview

copyparty is a portable file server. Prior to 1.20.19, FTP upload path handling does not confine destinations to configured copyparty volumes. When FTP or FTPS is explicitly enabled, a low-privileged authenticated user can submit traversal paths during upload to create a new file outside configured volumes wherever the copyparty process has write permission. The attacker cannot read or overwrite files, the output name receives a randomized suffix, and copyparty does not execute the file; however, unrelated software on the same host could process the newly created file. This issue is fixed in version 1.20.19.

## Remediation

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

## Package advisory (CVE-2026-104102)

Affected packages:

- `copyparty < 1.20.19`

Patched in:

- `copyparty 1.20.19`

Source: https://github.com/advisories/GHSA-phv8-wgjp-g4p9
