CVE-2026-70657: Copyparty vulnerable to file/dirkey confusion
A valid filekey could potentially be converted into a dirkey, granting read-access to the containing folder. This issue only affected volumes which simultaneously enable both filekeys and dirkeys, with volflag dk or dks combined with fk or fka. Both required features are default-disabled, and must be explicitly enabled in the volflags (the "flags" section of a volume).
Published Aug 18, 2026
Affected packages
copyparty
- Ecosystem
- PyPI
- Affected
- < 1.20.17
- Fixed in
- 1.20.17
- Check
pip show copyparty
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A valid filekey could potentially be converted into a dirkey, granting read-access to the containing folder.
This issue only affected volumes which simultaneously enable both filekeys and dirkeys, with volflag dk or dks combined with fk or fka.
Both required features are default-disabled, and must be explicitly enabled in the volflags (the "flags" section of a volume).
Credited to poolcritter.
References
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-104102
copyparty FTP: upload outside defined volumes (limited path traversal)
medium5.3Oct 15, 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
