CVE-2026-32108: Copyparty ftp/sftp Remote Code Execution Vulnerability
LOWCVE-2026-32108 is a LOW remote code execution vulnerability (CWE-863: Incorrect Authorization) affecting Copyparty ftp/sftp libraries in the PyPI ecosystem. The issue involves sharing a single file did not fully restrict source-folder access. Remediation is available by upgrading affected packages to version 1.20.12.
CVE-2026-32108 at a Glance
How to Fix CVE-2026-32108
To remediate this vulnerability, upgrade all affected Copyparty ftp/sftp 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.12
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-32108, inspect your installed packages using pip:
pip show copyparty
Analyze the terminal output to locate any version of Copyparty ftp/sftp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.20.12), 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 ftp/sftp, 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-32108 Affected Copyparty ftp/sftp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
copyparty
|
PyPI |
< 1.20.12
|
1.20.12
|
References
Frequently Asked Questions
What is CVE-2026-32108?
Which Copyparty ftp/sftp versions are affected?
What version fixes CVE-2026-32108?
Is copyparty affected?
What CWE is associated with CVE-2026-32108?
How can I check PyPI dependencies for CVE-2026-32108?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67rw-2x62-mqqm",
"modified" : "2026-06-05T17:51:07Z",
"published" : "2026-03-12T14:22:46Z",
"aliases" : [ "CVE-2026-32108" ],
"summary" : "Copyparty ftp/sftp: Sharing a single file did not fully restrict source-folder access",
"details" : "There was a missing permission-check in the shares feature (the `shr` global-option).\n\nThis vulnerability only applies in the following scenario:\n* The [shares](https://github.com/9001/copyparty/#shares) feature is used for the specific purpose of creating a share of just a single file inside a folder\n* Either the FTP or SFTP server is enabled, and also made publically accessible\n * If a share is password-protected, then SFTP was not vulnerable unless the `sftp-pw` global-option was also enabled\n\nGiven these conditions, when a user is browsing a share through either FTP or SFTP (not http or https), they can gain read-access to the remaining files inside the shared folder by guessing/bruteforcing the filenames.\n\nIt was not possible to descend into subdirectories in this manner; only the sibling files were accessible.\n\nThis issue did not affect filekeys or dirkeys.\n\nThis vulnerability is [CVE-2025-58753](https://nvd.nist.gov/vuln/detail/CVE-2025-58753) which was previously fixed for HTTP and HTTPS, but not for FTP. The FTPS server did not yet exist at that time.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "copyparty"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.20.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/9001/copyparty/security/advisories/GHSA-67rw-2x62-mqqm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32108"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/9001/copyparty"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/copyparty/PYSEC-2026-31.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-12T14:22:46Z",
"nvd_published_at" : "2026-03-11T21:16:16Z"
}
}