Copyparty: file/dirkey confusion
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
Copyparty is a portable file server. Prior to 1.20.17, copyparty volumes with the dk or dks directory-key flag combined with the fk or fka file-key flag can convert a valid file key into a directory key, granting read access to the containing folder. This vulnerability was only reachable if both types of keys (filekeys and dirkeys) were manually enabled in the volume flags simultaneously. This issue is fixed in version 1.20.17.
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.17 | 1.20.17 | Patch available | CNA |
| — | copyparty (PyPI) | before 1.20.17 | 1.20.17 | Patch available | GHSA-x5pq-m9p8-f4vx |
- copyparty Vendor9001 Affected before 1.20.17 Fixed in 1.20.17 Patch available CNA
- copyparty (PyPI) Vendor— Affected before 1.20.17 Fixed in 1.20.17 Patch available GHSA-x5pq-m9p8-f4vx
Remediation
- Fix · CNA copyparty (9001) Fixed in 1.20.17
- Fix · GHSA-x5pq-m9p8-f4vx copyparty (PyPI) Fixed in 1.20.17 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-70657
- 2026-10-03 Alias added: GHSA-x5pq-m9p8-f4vx
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-70657 · CVE Program
- CVE-2026-70657 · NVD
- FIRST EPSS
- GHSA-x5pq-m9p8-f4vx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences