5.3medium
copyparty: Sharing a single file does not fully restrict access to other files in source folder
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pxvw-4w88-6x95PYSEC-2026-1279
Description
Copyparty is a portable file server. In versions prior to 1.19.8, there was a missing permission-check in the shares feature (the `shr` global-option). When a share was 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. Version 1.19.8 fixes the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 9001 copyparty | < 1.19.8, before 1.19.8 | CVE List, NVD |
| copyparty (PyPI) | before 1.19.8 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
Copyparty is a portable file server. In versions prior to 1.19.8, there was a missing permission-check in the shares feature (the `shr` global-option). When a share was 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. Version 1.19.8 fixes the issue.
GitHub Advisory Database
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58753 changed 2025-09-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pxvw-4w88-6x95 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-58753 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1279 changed 2026-07-07 | CC-BY-4.0 |