GitHub Advisoryadvisory · PyPI
GHSA-5662-2rj7-f2v6 copyparty allows Regex Denial of Service (ReDoS) in the upload listing
HIGH
Official page ↗
- Aliases
- CVE-2025-54796
- Ecosystem
- PyPI
- Packages
- copyparty
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2025-08-04
Affected packages
• PyPI copyparty: < 1.18.9 → fixed in 1.18.9
Description
Summary
The `filter` parameter for the "Recent uploads" page allows arbitrary Regexes. If this feature is enabled (which is the default), an attacker can craft a filter which deadlocks the server.
PoC
`https://127.0.0.1:3923/?ru&filter=(.+)+x`
Impact
The server becomes fully inaccessible for a long time.
Related
Alias · CVE (1)
- CVE-2025-54796 Copyparty is a portable file server. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/9001/copyparty/security/advisories/GHSA-5662-2rj7-f2v6 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-54796 advisory
- https://github.com/9001/copyparty/commit/09910ba80784c3980947d92f45db696398c0fd83 web
- https://github.com/9001/copyparty package
- https://github.com/9001/copyparty/releases/tag/v1.18.9 web