CVE-2026-104102: copyparty FTP: upload outside defined volumes (limited path traversal)
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;
Published Oct 15, 2026
Affected packages
copyparty
- Ecosystem
- PyPI
- Affected
- < 1.20.19
- Fixed in
- 1.20.19
- Check
pip show copyparty
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/9001/copyparty/security/advisories/GHSA-phv8-wgjp-g4p9
- https://nvd.nist.gov/vuln/detail/CVE-2026-104102
- https://github.com/9001/copyparty/commit/b331bb1c8c8cc306b91e4d94221969335a7a3e86
- https://github.com/9001/copyparty/releases/tag/v1.20.19
- https://github.com/advisories/GHSA-phv8-wgjp-g4p9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-70657
Copyparty vulnerable to file/dirkey confusion
medium4.3Aug 18, 2026CVE-2026-32108
Copyparty ftp/sftp: Sharing a single file did not fully restrict source-folder access
low2.3Mar 12, 2026CVE-2026-32109
Copyparty has unexpected JavaScript execution via crafted URL to folder with `.prologue.html`
low3.7Mar 12, 2026CVE-2026-30974
copyparty: volflag `nohtml` did not block javascript in svg files
medium4.6Mar 10, 2026CVE-2026-27948
Copyparty vulnerable to reflected XSS via setck parameter
medium5.4Feb 26, 2026CVE-2025-58753
copyparty: Sharing a single file does not fully restrict access to other files in source folder
medium5.3Sep 9, 2025
