CVE-2025-58753
JSON

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 packageVersionsReported by
9001 copyparty< 1.19.8, before 1.19.8CVE List, NVD
copyparty (PyPI)before 1.19.8GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-552CWE-862

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2025-58753 changed 2025-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-pxvw-4w88-6x95 changed 2026-07-07CC-BY-4.0
NVDCVE-2025-58753 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1279 changed 2026-07-07CC-BY-4.0