What’s Vulnerable › Vulnerabilities
CVE-2021-37617: Untrusted Search Path in Nextcloud Desktop Client
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-08-18 · updated 2026-06-17
- Weakness: CWE-426
Description
The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with a computer. The Nextcloud Desktop Client invokes its uninstaller script when being installed to make sure there are no remnants of previous installations. In versions 3.0.3 through 3.2.4, the Client searches the `Uninstall.exe` file in a folder that can be written by regular users. This could lead to a case where a malicious user creates a malicious `Uninstall.exe`, which would be executed with administrative privileges on the Nextcloud Desktop Client installation. This issue is fixed in Nextcloud Desktop Client version 3.3.0. As a workaround, do not allow untrusted users to create content in the `C:\` system folder and verify that there is no malicious `C:\Uninstall.exe` file on the system.
Affected products
- Desktop Client: from 3.0.3 before 3.3.0 — fixed in 3.3.0
How to fix
Upgrade to a fixed version: Desktop Client 3.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/desktop/pull/3497
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6q2w-v879-q24v
- https://hackerone.com/reports/1240749
- https://github.com/nextcloud/desktop/pull/3497
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6q2w-v879-q24v
- https://hackerone.com/reports/1240749
Get alerted when CVE-2021-37617 or the next vulnerability affects your stack