CVE-2026-32108: Copyparty ftp/sftp Remote Code Execution Vulnerability

LOW
Advisory Identifier: GHSA-67rw-2x62-mqqm
CWE-863
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-32108
GHSA Identifier GHSA-67rw-2x62-mqqm
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-863: Incorrect Authorization
Affected Product Copyparty ftp/sftp
Package Ecosystem PyPI
Published Date
Last Updated

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.

copyparty fixed: 1.20.12
pip install copyparty>=1.20.12
Verify Direct and Transitive Dependencies

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

There was a missing permission-check in the shares feature (the `shr` global-option). This vulnerability only applies in the following scenario: * 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 * Either the FTP or SFTP server is enabled, and also made publically accessible * If a share is password-protected, then SFTP was not vulnerable unless the `sftp-pw` global-option was also enabled Given 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. It was not possible to descend into subdirectories in this manner; only the sibling files were accessible. This issue did not affect filekeys or dirkeys. This 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.

CVE-2026-32108 Affected Copyparty ftp/sftp Versions

1 component(s)
Fixed Versions:
1.20.12
Product / Package Ecosystem Affected Versions Fixed Version
copyparty
PyPI
< 1.20.12
1.20.12

References

Frequently Asked Questions

What is CVE-2026-32108?
CVE-2026-32108 is a security vulnerability in Copyparty ftp/sftp involving Sharing a single file did not fully restrict source-folder access under CWE-863: Incorrect Authorization.
Which Copyparty ftp/sftp versions are affected?
Affected versions include releases prior to 1.20.12 across affected packages: copyparty.
What version fixes CVE-2026-32108?
Upgrading to 1.20.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is copyparty affected?
Yes, copyparty is affected in releases prior to 1.20.12. Upgrade your dependency to 1.20.12 or later.
What CWE is associated with CVE-2026-32108?
CVE-2026-32108 is classified under CWE-863: Incorrect Authorization (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.).
How can I check PyPI dependencies for CVE-2026-32108?
Run the dependency tree command: 'pip show copyparty'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}