Advisory

GHSA-5662-2rj7-f2v6

Also known as: CVE-2025-54796, PYSEC-2026-1275

Summary

copyparty allows Regex Denial of Service (ReDoS) in the upload listing

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-08-04 15:22 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

copyparty

PyPI · All systems

Affected

  • introduced 0, fixed 1.18.9 (ecosystem)

Fixed versions

1.18.9

Fix

  • Fixed version 1.18.9
    pip install --upgrade copyparty==1.18.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences