CVE-2021-22879
Nextcloud Desktop Client vulnerability analysis and mitigation

Overview

CVE-2021-22879 affects Nextcloud Desktop Client versions prior to 3.1.3. The vulnerability is related to missing validation of URLs, which could allow a malicious server to execute remote commands. The vulnerability was discovered in early 2021 and was publicly disclosed on April 14, 2021 (NVD, Gentoo Security).

Technical details

The vulnerability stems from insufficient URL validation in the Nextcloud Desktop Client. The application failed to properly validate URLs coming from the server or user input, which could lead to resource injection. The issue was addressed by implementing validation that only allows http(s) schemes for sensitive URLs (GitHub PR). The vulnerability has a CVSS score of 7.0, indicating moderate severity (Rapid7).

Impact

If exploited, this vulnerability could allow a malicious server to execute remote commands on the user's system with the privileges of the user running the Nextcloud Desktop Client application. However, user interaction is required for successful exploitation (NVD, Gentoo Security).

Exploitability

The vulnerability requires user interaction for successful exploitation. An attacker would need to entice a user to connect to a malicious Nextcloud server to execute arbitrary commands (Gentoo Security).

Mitigation and workarounds

The vulnerability was fixed in Nextcloud Desktop Client version 3.1.3. Users are advised to upgrade to this version or later. For Gentoo Linux users, the fix can be applied by running 'emerge --sync' followed by 'emerge --ask --oneshot --verbose ">=net-misc/nextcloud-client-3.1.3"' (Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Nextcloud Desktop Client vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-46958CRITICAL9.1
  • Nextcloud Desktop Client logoNextcloud Desktop Client
  • nextcloud-desktop
NoYesSep 16, 2024
CVE-2024-37885HIGH7.8
  • Nextcloud Desktop Client logoNextcloud Desktop Client
  • cpe:2.3:a:nextcloud:desktop
NoYesJun 14, 2024
CVE-2024-52510HIGH7.5
  • Nextcloud Desktop Client logoNextcloud Desktop Client
  • cpe:2.3:a:nextcloud:desktop
NoYesNov 15, 2024
CVE-2025-47792MEDIUM6.1
  • Nextcloud Desktop Client logoNextcloud Desktop Client
  • nextcloud-desktop
NoYesMay 16, 2025
CVE-2025-66549LOW2.7
  • Nextcloud Desktop Client logoNextcloud Desktop Client
  • cpe:2.3:a:nextcloud:desktop
NoYesDec 05, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management