CVE-2026-32108: Copyparty ftp/sftp: Sharing a single file did not fully restrict source-folder access
There was a missing permission-check in the shares feature (the shr global-option). This vulnerability only applies in the following scenario: The shares feature is used for the specific purpose of creating a share of just a single file inside a folder Either the FTP or SFTP server is enabled, and also made publically accessible If a share is password-protected, then SFTP was not vulnerable unless the sftp-pw…
Published Mar 12, 2026 · Updated Jun 5, 2026
Affected packages
copyparty
- Ecosystem
- PyPI
- Affected
- < 1.20.12
- Fixed in
- 1.20.12
- Check
pip show copyparty
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
There was a missing permission-check in the shares feature (the shr global-option).
This vulnerability only applies in the following scenario:
- The shares feature is used for the specific purpose of creating a share of just a single file inside a folder
- Either the FTP or SFTP server is enabled, and also made publically accessible
- If a share is password-protected, then SFTP was not vulnerable unless the
sftp-pwglobal-option was also enabled
Given these conditions, when a user is browsing a share through either FTP or SFTP (not http or https), they can gain read-access to the remaining files inside the shared folder by guessing/bruteforcing the filenames.
It was not possible to descend into subdirectories in this manner; only the sibling files were accessible.
This issue did not affect filekeys or dirkeys.
This vulnerability is CVE-2025-58753 which was previously fixed for HTTP and HTTPS, but not for FTP. The FTPS server did not yet exist at that time.
Credited to thesanjok.
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-70657
Copyparty vulnerable to file/dirkey confusion
medium4.3Aug 18, 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
