copyparty FTP: upload outside defined volumes (limited path traversal)
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from GitHub Advisory Database
Affected versions 53
- copyparty, pip< 1.20.19GitHub
- copypartyaffected: < 1.20.19CVE List
- copyparty, PyPIfrom first release, fixed in 1.20.19OSV
- copyparty, PyPI0.10.0OSV
- copyparty, PyPI0.10.1OSV
- copyparty, PyPI0.10.10OSV
- copyparty, PyPI0.10.11OSV
- copyparty, PyPI0.10.12OSV
- copyparty, PyPI0.10.13OSV
- copyparty, PyPI0.10.14OSV
- copyparty, PyPI0.10.15OSV
- copyparty, PyPI0.10.16OSV
- copyparty, PyPI0.10.17OSV
- copyparty, PyPI0.10.18OSV
- copyparty, PyPI0.10.19OSV
- copyparty, PyPI0.10.2OSV
- copyparty, PyPI0.10.20OSV
- copyparty, PyPI0.10.21OSV
- copyparty, PyPI0.10.22OSV
- copyparty, PyPI0.10.3OSV
- copyparty, PyPI0.10.4OSV
- copyparty, PyPI0.10.5OSV
- copyparty, PyPI0.10.6OSV
- copyparty, PyPI0.10.7OSV
- copyparty, PyPI0.10.8OSV
- copyparty, PyPI0.10.9OSV
- copyparty, PyPI0.11.0OSV
- copyparty, PyPI0.11.1OSV
- copyparty, PyPI0.11.10OSV
- copyparty, PyPI0.11.11OSV
- copyparty, PyPI0.11.12OSV
- copyparty, PyPI0.11.13OSV
- copyparty, PyPI0.11.14OSV
- copyparty, PyPI0.11.15OSV
- copyparty, PyPI0.11.16OSV
- copyparty, PyPI0.11.17OSV
- copyparty, PyPI0.11.18OSV
- copyparty, PyPI0.11.19OSV
- copyparty, PyPI0.11.20OSV
- copyparty, PyPI0.11.21OSV
- copyparty, PyPI0.11.22OSV
- copyparty, PyPI0.11.23OSV
- copyparty, PyPI0.11.24OSV
- copyparty, PyPI0.11.26OSV
- copyparty, PyPI0.11.27OSV
- copyparty, PyPI0.11.28OSV
- copyparty, PyPI0.11.29OSV
- copyparty, PyPI0.11.30OSV
- copyparty, PyPI0.11.31OSV
- copyparty, PyPI0.11.32OSV
- copyparty, PyPI0.11.33OSV
- copyparty, PyPI0.11.34OSV
- copyparty, PyPI0.11.35OSV
References 5
- github.com/9001/copyparty/commit/b331bb1c8c8cc306b91e4d94221969335a7a3e86Fixvia CVE List
- github.com/9001/copyparty/releases/tag/v1.20.19Fixvia CVE List
- github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9Advisoryvia CVE List
- github.com/advisories/GHSA-phv8-wgjp-g4p9Advisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-104102Referencevia GitHub