CVE-2025-54796: copyparty Regex Denial of Service Vulnerability

copyparty Updated 02 Oct 2025

Summary

04/08/2025
Yes i
High
7.5

CVE-2025-54796: copyparty allows Regex Denial of Service (ReDoS) in the upload listing. Affects copyparty versions < 1.18.9. Fixed in 1.18.9. 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 application that allows users to upload and share files over the internet. It features a 'Recent uploads' page where users can filter uploads using regular expressions. This functionality, while powerful, introduces a significant risk if not properly managed, as it can be exploited to cause server unavailability.

Vulnerability Detail

The vulnerability arises from the 'filter' parameter on the 'Recent uploads' page, which permits arbitrary regular expressions. When this feature is enabled (which is the default setting), an attacker can craft a regex pattern that leads to a deadlock situation on the server. This results in the server becoming fully inaccessible for an extended period, severely impacting service availability. The technical nature of this vulnerability falls under the category of Regular Expression Denial of Service (ReDoS), where complex regex patterns can consume excessive resources.

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.18.9

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.18.9"

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

Workaround

As a temporary workaround, you can disable the 'filter' feature on the 'Recent uploads' page to prevent exploitation until the package is updated. This can usually be done by modifying the configuration settings in your application.

Conclusion

In summary, the copyparty application has a significant vulnerability that allows for regex-based denial of service attacks. It is crucial for users to update to the patched version to mitigate risks. Additionally, temporary workarounds can be implemented to enhance security until the update is applied.

See every vulnerability recorded for copyparty →

Share this vulnerability

FAQ

The vulnerability allows for the creation of arbitrary regex patterns that can lead to server deadlocks, making the service unavailable.

If you are using copyparty version 1.18.8 or earlier, your application is vulnerable. You can check your version using 'pip show copyparty'.

The primary impact is service unavailability, which can disrupt user access to the file sharing service and affect overall user experience.

Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

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.18.9

This is the first release that contains the fix.

pip install --upgrade "copyparty==1.18.9"

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