GitHub Advisoryadvisory · PyPI

GHSA-pxvw-4w88-6x95 copyparty: Sharing a single file does not fully restrict access to other files in source folder

MEDIUM Published 2025-09-09 Modified 2025-09-10 Official page ↗
Aliases
CVE-2025-58753
Ecosystem
PyPI
Packages
copyparty
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-552, CWE-862
Reviewed
2025-09-09

Affected packages

• PyPI copyparty: < 1.19.8 → fixed in 1.19.8

Description

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.

Related

Alias · CVE (1)

Weakness · CWE (2)

  • CWE-552 Files or Directories Accessible to External Parties weakness
  • CWE-862 Missing Authorization weakness

References