nextcloudcmd incorrectly trusts bad TLS certificates
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-295.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA security-advisories (nextcloud) Fixed in 3.6.1
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39334
References
More nextcloud Desktop vulnerabilities
- TI-2022-18709 Cross-site scripting (XSS) in Nextcloud Desktop Client CVSS 3.1MEDIUM 6.1
- TI-2022-18708 Cross-site scripting (XSS) in Nextcloud Desktop Client CVSS 3.1MEDIUM 5.4
- TI-2022-18707 Cross-site Scripting (XSS) in Nexcloud Desktop Client CVSS 3.1MEDIUM 5.4
- TI-2020-06645 Path traversal in Desktop Client CVSS 3.1MEDIUM 6.8
- TI-2021-05740 Injection in Nextcloud Desktop Client CVSS 3.1HIGH 8.8
- TI-2024-31350 In Nextcloud Desktop Client 3.13.1 through 3.13.3 on Linux, synchronized files (between… CVSS 3.1CRITICAL 9.1
Sources
- CVE-2022-39334 · CVE Program
- CVE-2022-39334 · NVD
- FIRST EPSS
- CVE-2022-39334 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences