Read the docs
TI-2022-18710 Aliases CVE-2022-39334

nextcloudcmd incorrectly trusts bad TLS certificates

Priority MEDIUM 55CWE-295Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00203 10th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed security-advisories (nextcloud): 3.6.1

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

VendorProductAffected versionsFixed inStatusSource
nextcloudsecurity-advisoriesbefore 3.6.13.6.1Patch availableCNA
  • security-advisories Vendornextcloud Affected before 3.6.1 Fixed in 3.6.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nextcloud:desktop:*:*:*:*:*:*:*:*before 3.6.1Vulnerablenextcloud
  • cpe:2.3:a:nextcloud:desktop:*:*:*:*:*:*:*:* Versions before 3.6.1 Vulnerable ·nextcloud

Remediation

  • Fix · CNA security-advisories (nextcloud) Fixed in 3.6.1

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39334

References

  • 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
See all 26 →

Sources