CVE-2021-37617

Untrusted Search Path in Nextcloud Desktop Client

HIGH
7.3
CVSS Score
Published: August 18, 2021 at 05:25 PM UTC
Updated: June 17, 2026 at 04:00 AM UTC
1 product affected across 1 vendorDesktop

Using security-advisories by nextcloud?

Get instant alerts when new vulnerabilities affect security-advisories - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.3
Exploit prediction
EPSS 0.5%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Desktop· Nextcloudnextcloud-app
95%
3.0.3 ≤ v < 3.3.0
Affected range stops below 3.3.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCPatchThird Party Advisory
https://github.com/nextcloud/desktop/pull/3497
x_refsource_MISCPermissions RequiredThird Party Advisory
https://hackerone.com/reports/1240749

CVSS

7.3HIGHGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-426CWE-427

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card