CVE-2026-104102 — copyparty
Fix: 9001/copyparty@b331bb1CVE-2026-104102 is a Path Traversal vulnerability in copyparty. A fix is available for copyparty — see the affected versions and patch details below.
copyparty FTP: upload outside defined volumes (limited path traversal)
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-104102.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
copypartyReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | copyparty | all versions | 1.20.19pip install --upgrade 'copyparty==1.20.19' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for copyparty, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update copyparty to 1.20.19 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-104102 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2026-104102 in your dependencies?
Find it across PyPI, including transitive dependencies.