CVE-2022-39334: nextcloudcmd incorrectly trusts bad TLS certificates
Vulnerability summary
CVE-2022-39334 is a medium (CVSS 4.7) Improper Certificate Validation vulnerability in nextcloud desktop. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 25-11-2022PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA3.9LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundDesktop
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Nextcloud2 products
- desktop< 3.6.1
- security-advisories< 3.6.1
Debian1 product
- nextcloud-desktop< 3.6.1-1
Ubuntu1 product
- nextcloud-desktopAll versions (No fix recorded)
3 vendors · 4 products
References
8 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-82xx-98xv-4jxvREPORTThird Party Advisory