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.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 73.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIcopyparty1.20.17GHSA-x5pq-m9p8-f4vx
PyPIcopyparty1.20.17PYSEC-2026-3660

Affected products (as reported)

VendorProductVersions
9001 copyparty < 1.20.17

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References