# CVE-2021-37617: Untrusted Search Path in Nextcloud Desktop Client

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2021-08-18T17:25:10.000Z
- Modified: 2026-06-17T04:00:50.353Z
- Weaknesses: CWE-426, CWE-427
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 3.0.3 , <= 3.2.4
- nextcloud desktop: from 3.0.3 before 3.3.0

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.4 Medium `AV:L/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-6q2w-v879-q24v> (third-party-advisory)
- <https://github.com/nextcloud/desktop/pull/3497> (patch, third-party-advisory)
- <https://hackerone.com/reports/1240749> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2021-37617](https://www.cve.org/CVERecord?id=CVE-2021-37617), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-37617](https://nvd.nist.gov/vuln/detail/CVE-2021-37617), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37617 · Whole record: https://cve.day/CVE-2021-37617.json · Rebuilt by cve.day 2026-11-25T22:58:03.317Z
