CVE-2026-70657: Copyparty Copyparty Vulnerable To File/dirkey Confusion Vulnerability
MODERATECVE-2026-70657 is a MODERATE (CVSS 4.3) copyparty vulnerable to file/dirkey confusion vulnerability (CWE-863: Incorrect Authorization) affecting Copyparty libraries in the PyPI ecosystem. The issue involves copyparty vulnerable to file/dirkey confusion. Remediation is available by upgrading affected packages to version 1.20.17.
CVE-2026-70657 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-70657
To remediate this vulnerability, upgrade all affected Copyparty dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install copyparty>=1.20.17
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show copyparty
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-70657, inspect your installed packages using pip:
pip show copyparty
Analyze the terminal output to locate any version of Copyparty in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.20.17), your application is affected.
Note: The pip show copyparty command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where 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. In Copyparty, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-70657 Affected Copyparty Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
copyparty
|
PyPI |
< 1.20.17
|
1.20.17
|
References
Frequently Asked Questions
What is CVE-2026-70657?
Which Copyparty versions are affected?
What version fixes CVE-2026-70657?
Is copyparty affected?
What is the CVSS score of CVE-2026-70657?
What CWE is associated with CVE-2026-70657?
How can I check PyPI dependencies for CVE-2026-70657?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x5pq-m9p8-f4vx",
"modified" : "2026-08-18T15:02:01Z",
"published" : "2026-08-18T15:02:01Z",
"aliases" : [ "CVE-2026-70657" ],
"summary" : "Copyparty vulnerable to file/dirkey confusion",
"details" : "A valid filekey could potentially be converted into a dirkey, granting read-access to the containing folder.\n\nThis issue only affected volumes which simultaneously enable both filekeys and dirkeys, with volflag `dk` or `dks` combined with `fk` or `fka`.\n\nBoth required features are default-disabled, and must be explicitly enabled in the volflags (the \"flags\" section of a volume).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "copyparty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.20.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/9001/copyparty/security/advisories/GHSA-x5pq-m9p8-f4vx"
}, {
"type" : "WEB",
"url" : "https://github.com/9001/copyparty/commit/e40755331ba9449993ff482456e6bdd2c6deb950"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/9001/copyparty"
}, {
"type" : "WEB",
"url" : "https://github.com/9001/copyparty/releases/tag/v1.20.17"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-18T15:02:01Z",
"nvd_published_at" : null
}
}