CVE-2026-32108
JSON

2.3low

Copyparty ftp/sftp: Sharing a single file did not fully restrict source-folder access

Severity
2.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-67rw-2x62-mqqmPYSEC-2026-31

Description

Copyparty is a portable file server. Prior to 1.20.12, there was a missing permission-check in the shares feature (the shr global-option). This vulnerability only applies when the shares feature is used for the specific purpose of creating a share of just a single file inside a folder or either the FTP or SFTP server is enabled, and also made publicly accessible. 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 vulnerability is similar to 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. This vulnerability is fixed in 1.20.12.

Affected

Product or packageVersionsReported by
9001 copyparty< 1.20.12, before 1.20.12CVE List, NVD
copyparty (PyPI)before 1.20.12GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M2.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Copyparty is a portable file server. Prior to 1.20.12, there was a missing permission-check in the shares feature (the shr global-option). This vulnerability only applies when the shares feature is used for the specific purpose of creating a share of just a single file inside a folder or either the FTP or SFTP server is enabled, and also made publicly accessible. 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 vulnerability is similar to 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. This vulnerability is fixed in 1.20.12.

GitHub Advisory Database

There was a missing permission-check in the shares feature (the shr global-option).

This vulnerability only applies in the following scenario:

  • The 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 which was previously fixed for HTTP and HTTPS, but not for FTP. The FTPS server did not yet exist at that time.

NVD (es)

Copyparty es un servidor de archivos portátil. Antes de la versión 1.20.12, existía una comprobación de permisos faltante en la función de compartición (la opción global 'shr'). Esta vulnerabilidad solo se aplica cuando la función de compartición se utiliza con el propósito específico de crear un recurso compartido de un solo archivo dentro de una carpeta o cuando el servidor FTP o SFTP está habilitado y también se hace accesible públicamente. Dadas estas condiciones, cuando un usuario navega por un recurso compartido a través de FTP o SFTP (no HTTP o HTTPS), puede obtener acceso de lectura a los archivos restantes dentro de la carpeta compartida adivinando/forzando los nombres de archivo. No era posible descender a subdirectorios de esta manera; solo los archivos hermanos eran accesibles. Esta vulnerabilidad es similar a CVE-2025-58753, que se había corregido previamente para HTTP y HTTPS, pero no para FTP. El servidor FTPS aún no existía en ese momento. Esta vulnerabilidad está corregida en la versión 1.20.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-32108 changed 2026-03-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-67rw-2x62-mqqm changed 2026-06-05CC-BY-4.0
NVDCVE-2026-32108 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-31 changed 2026-05-20CC-BY-4.0