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.
Published: 2026-08-18
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Copyparty is a portable file server. Prior to 1.20.17, 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 is only reachable if both types of keys (filekeys and dirkeys) are manually enabled in the volume flags simultaneously. The flaw leads to information disclosure and is classified as CWE‑863: Interface Logic Error.

Affected Systems

Any deployment of the Copyparty portable file server running a version earlier than 1.20.17 that has enabled the dk/dks directory‑key or dks flags in conjunction with the fk/fka file‑key flags. The flaw is present only if both sets of flags are explicitly activated; by default, they are disabled.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog, implying no known widespread exploitation yet. However, because the flaw can be triggered by explicitly enabling specific flags, organizations that have customized these settings may be able to read directory contents without authorization, making the risk more tangible for those environments.

Generated by OpenCVE AI on August 21, 2026 at 16:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Copyparty to version 1.20.17 or higher, which removes the directory‑key conversion bug.
  • If an immediate upgrade is not feasible, disable the dk/dks and fk/fka flags in the volume configuration to prevent the key confusion.
  • Verify that no configuration combination applies both directory‑key and file‑key flags simultaneously and restrict access accordingly.

Generated by OpenCVE AI on August 21, 2026 at 16:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x5pq-m9p8-f4vx Copyparty vulnerable to file/dirkey confusion
History

Wed, 19 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
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 even though both features are disabled by default and must be explicitly enabled in the volume flags. This issue is fixed in version 1.20.17. 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.

Tue, 18 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared 9001
9001 copyparty
Vendors & Products 9001
9001 copyparty

Tue, 18 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
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 even though both features are disabled by default and must be explicitly enabled in the volume flags. This issue is fixed in version 1.20.17.
Title Copyparty: file/dirkey confusion
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T16:19:51.186Z

Reserved: 2026-08-04T21:48:08.612Z

Link: CVE-2026-70657

cve-icon Vulnrichment

Updated: 2026-08-18T18:00:38.840Z

cve-icon NVD

Status : Received

Published: 2026-08-18T15:17:01.077

Modified: 2026-08-19T17:20:56.880

Link: CVE-2026-70657

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T17:00:04Z

Weaknesses