CVE-2025-58753: copyparty File Sharing Access Control Vulnerability

copyparty Updated 14 Dec 2025

Summary

09/09/2025
Yes i
Moderate
5.3

CVE-2025-58753: copyparty: Sharing a single file does not fully restrict access to other files in source folder. Affects copyparty versions < 1.19.8. Fixed in 1.19.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Copyparty is an open-source file sharing server that allows users to share files over the internet. It provides features such as file sharing, directory browsing, and user management. However, a recent vulnerability has been identified that affects the access control mechanisms when sharing files, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability arises from a missing permission check in the shares feature, specifically the 'shr' global-option. When a user creates a share for a single file within a folder, it inadvertently allows access to other files in the same folder through filename guessing. This means that while users cannot navigate into subdirectories, they can still access sibling files, which poses a risk of unauthorized data exposure. The issue does not affect filekeys or dirkeys, but it can lead to unintended information disclosure.

How To Fix

Latest published version: 1.20.26 as of 22 Oct 2026

pip install --upgrade "copyparty==1.20.26"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.19.8

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.19.8"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid sharing individual files within a folder that contains sensitive sibling files until the package is updated. Additionally, consider using more restrictive sharing options or creating separate folders for sensitive files.

Conclusion

The CVE-2025-58753 vulnerability in the copyparty package highlights a significant issue with file sharing access controls. Users are strongly advised to update to the patched version to mitigate risks associated with unauthorized file access. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for copyparty →

Share this vulnerability

FAQ

CVE-2025-58753 is a vulnerability in the copyparty package that allows unauthorized access to sibling files when sharing a single file due to a missing permission check.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to analyze your Pipfile.lock.

The primary risk is unauthorized access to sensitive files within the same folder, which could lead to data leaks or exposure of confidential information.

Yes, the vulnerability has been fixed in version 1.19.8 of the copyparty package. Users are encouraged to update to this version.

If immediate updating is not possible, consider using the workaround of avoiding sharing files in folders with sensitive sibling files until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for copyparty.

How To Fix

Latest published version: 1.20.26 as of 22 Oct 2026

pip install --upgrade "copyparty==1.20.26"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.19.8

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.19.8"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback