Vulnerabilities · 2022 · Nextcloud
CVE-2022-39334
Nextcloud Desktop vulnerability
Nextcloud also ships a CLI utility called nextcloudcmd which is sometimes used for automated scripting and headless servers. Versions of nextcloudcmd prior to 3.6.1 would incorrectly trust invalid TLS certificates, which may enable a Man-in-the-middle attack that exposes sensitive data or credentials to a network attacker. This affects the CLI only. It does not affect the standard GUI desktop Nextcloud clients, and it does not affect the Nextcloud server.
Affected products
Desktop. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Desktop runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nextcloud/desktop/pull/5022 · Patch
- github.com/nextcloud/desktop/issues/4927 · Exploit
- github.com/nextcloud/security-advisories/security/advisories/GHSA-82xx-98xv-4jxv · Third Party Advisory
- hackerone.com/reports/1699740 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/09/msg00018.html
- nvd.nist.gov/vuln/detail/CVE-2022-39334
- cve.org/CVERecord?id=CVE-2022-39334
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.