CVE-2026-70657
Received Received - Intake

Directory Key Bypass in Copyparty via File Key Conversion

Vulnerability report for CVE-2026-70657, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-18

Last updated on: 2026-08-18

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-18
Last Modified
2026-08-18
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
copyparty copyparty to 1.20.17 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-70657 is a security flaw in copyparty where a valid file key can be converted into a directory key. This allows unauthorized read access to folders even when both features are disabled by default. The issue occurs only if both directory keys (dk/dks) and file keys (fk/fka) are explicitly enabled in volume flags.

Detection Guidance

Check copyparty version with 'copyparty --version' or inspect running processes. If version is below 1.20.17, the system is vulnerable. Verify volume flags for 'dk'/'dks' combined with 'fk'/'fka' in configuration files or startup commands.

Impact Analysis

If exploited, this vulnerability could allow an attacker with low privileges to access restricted folder contents without user interaction. The primary impact is a low loss of data confidentiality, as unauthorized users may read sensitive files in protected directories.

Mitigation Strategies

Upgrade copyparty to version 1.20.17 or later immediately. If upgrading is not possible, disable both dirkeys ('dk'/'dks') and filekeys ('fk'/'fka') in volume flags. Review and remove any existing volume configurations enabling these flags.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70657. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart