Medium

copyparty FTP: upload outside defined volumes (limited path traversal)

  • Disclosed: 15.10.2026
  • Updated: 22.10.2026 18:07

The FTP and FTPS server -- if enabled -- would allow uploading to any folder that the copyparty process had permission to write to.

The FTP-server is default-disabled, and must be explicitly enabled in the config with global-option ftp or ftps to be affected. Additionally, SFTP was not affected at all; only FTP and FTPS.

This was not a full read/write path-traversal; it had the following limitations:

  • Only applied to uploads; it was not possible to read/download existing files in this manner.
  • The output filename was not fully controllable; a randomized suffix would always be appended to the filename.
  • Existing files could not be overwritten or appended to; only new files could be created.
  • Filesystem-permissions would prevent writing to system folders, as copyparty surely does not run as root in most deployments.
  • Copyparty itself will not execute arbitrary files as code by default, so this vulnerability could not be used to execute arbitrary code through copyparty.

The main concern is the potential effect on other unrelated software which is running on the same system.

The severity is assuming the worst case (SC:H/SI:H), that the same machine is running some unrelated software that will execute new arbitrarily-named files as code, and that the copyparty process has sufficient privileges to write files into the config-folder of that unrelated software.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) copyparty < 1.20.19 1.20.19

References

CVSS score -
CVSS vector
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
Weakness (CWE)
CWE-22
Platform
Python (PyPI)
Package
copyparty
Disclosed
15.10.2026
Updated
22.10.2026 18:07

Sources and licenses

OSV / GitHub Advisory Database - GHSA-phv8-wgjp-g4p9 - CC BY 4.0

Vulnerability history: copyparty

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (15) in the archive
Total entries
15
First → latest
07.2023 10.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 9
  • Low 3

Disclosures per year

  1. 2023: 3
  2. 2024: 0
  3. 2025: 6
  4. 2026: 6
Severity:
  1. copyparty FTP: upload outside defined volumes (limited path traversal) this entry
    Medium CVE-2026-104102 < 1.20.19 1.20.19
  2. High · 7.5 CVE-2023-37474 < 1.8.2 1.8.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.