GitHub Advisory Database
GHSA-pxvw-4w88-6x95
copyparty: Sharing a single file does not fully restrict access to other files in source folder
Details
There was a missing permission-check in the shares feature (the shr global-option).
When a share is created for just one file inside a folder, it was possible to access the other files inside that folder by guessing 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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | copyparty | All versions before 1.19.8 (fixed in 1.19.8) |