copyparty
Affected
- introduced
0, fixed1.20.12(ecosystem)
Fixed versions
1.20.12
Fix
- Fixed version
1.20.12pip install --upgrade copyparty==1.20.12
Advisory
Also known as: CVE-2026-32108, PYSEC-2026-31
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:
sftp-pw global-option was also enabledGiven 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.
Low Basis: The source's own band: LOW
0, fixed 1.20.12 (ecosystem)1.20.12
1.20.12pip install --upgrade copyparty==1.20.12Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0