Path traversal in copyparty FTP uploads creates files outside volumes
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
copyparty before 1.20.19 does not confine FTP upload destinations to configured volumes, a path traversal flaw (CWE-22). When FTP or FTPS is explicitly enabled, a low-privileged authenticated user can submit traversal paths during upload to create a new file outside the configured volumes, wherever the copyparty process has write permission. The attacker cannot read or overwrite files, and copyparty does not execute the created file, but other software on the same host could process it.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 9001 | copyparty | before 1.20.19 | 1.20.19 | Patch available | CNA |
| — | copyparty (PyPI) | before 1.20.19 | 1.20.19 | Patch available | GHSA-phv8-wgjp-g4p9 |
- copyparty Vendor9001 Affected before 1.20.19 Fixed in 1.20.19 Patch available CNA
- copyparty (PyPI) Vendor— Affected before 1.20.19 Fixed in 1.20.19 Patch available GHSA-phv8-wgjp-g4p9
Remediation
Upgrade the PyPI copyparty package to version 1.20.19, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA copyparty (9001) Fixed in 1.20.19
- Fix · GHSA-phv8-wgjp-g4p9 copyparty (PyPI) Fixed in 1.20.19 Advisory →
Vendor assessments
Timeline
- 2026-10-12 Threatist record created from CVE-2026-104102
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-13 CVSS score added · Red Hat
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-16 Alias added: GHSA-phv8-wgjp-g4p9
- 2026-10-16 Fix available: PyPI/[email protected] · GHSA-phv8-wgjp-g4p9
- 2026-10-16 CVSS score added · GHSA-phv8-wgjp-g4p9
- 2026-10-16 Weakness changed · GHSA-phv8-wgjp-g4p9
- 2026-10-16 5 new references · GHSA-phv8-wgjp-g4p9
References
More 9001 vulnerabilities
- TI-2025-34551 Copyparty is vulnerable to Regex Denial of Service (ReDoS) attacks through "Recent Uploads" page CVSS 3.1HIGH 7.5
- TI-2023-19082 Path traversal in copyparty CVSS 3.1HIGH 7.5
- TI-2023-21990 Cross Site Scripting vulnerability in copyparty before 1.9.2 allows a local attacker to… CVSS 3.1HIGH 7.8
- TI-2023-19881 copyparty vulnerable to reflected cross-site scripting via k304 parameter CVSS 3.1MEDIUM 6.3
- TI-2025-34228 copyparty has a DOM-Based XSS vulnerability when displaying multimedia metadata CVSS 3.1MEDIUM 6.1
- TI-2025-20002 copyparty renders unsanitized filenames as HTML when user uploads empty files CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-104102 · CVE Program
- CVE-2026-104102 · NVD
- FIRST EPSS
- GHSA-phv8-wgjp-g4p9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-104102 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences