Vulnerability · Published Aug 18, 2026 · Assigned by GitHub_M
CVE-2026-70657Copyparty: file/dirkey confusion
Medium 4.3
In plain English
A medium-severity incorrect authorization in copyparty from 9001. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Copyparty is a portable file server. Prior to 1.20.17, copyparty volumes with the dk or dks directory-key flag combined with the fk or fka file-key flag can convert a valid file key into a directory key, granting read access to the containing folder. This vulnerability was only reachable if both types of keys (filekeys and dirkeys) were manually enabled in the volume flags simultaneously. This issue is fixed in version 1.20.17.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | copyparty | 1.20.17 | GHSA-x5pq-m9p8-f4vx |
| PyPI | copyparty | 1.20.17 | PYSEC-2026-3660 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/9001/copyparty/security/advisories/GHSA-x5pq-m9p8-f4vx x_refsource_CONFIRM
- https://github.com/9001/copyparty/commit/e40755331ba9449993ff482456e6bdd2c6deb950 x_refsource_MISC
- https://github.com/9001/copyparty/releases/tag/v1.20.17 x_refsource_MISC