Skip to content
OpenAdvisories
Low · 3.9 CVE-2022-39334 EUVD-2022-41811

nextcloudcmd incorrectly trusts bad TLS certificates

Published Nov 25, 2022 · Updated Nov 3, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nextcloud security-advisories < 3.6.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nextcloud-desktop 3.6.1-1 —
Debian 13 nextcloud-desktop 3.6.1-1 —
Debian 12 nextcloud-desktop 3.6.1-1 —
Debian 11 nextcloud-desktop 3.1.1-2+deb11u2 DLA-4303-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nextcloud-desktop No fix yet —
Ubuntu 26.04 LTS nextcloud-desktop No fix yet —
Ubuntu 25.10 nextcloud-desktop No fix yet —
Ubuntu 24.04 LTS nextcloud-desktop No fix yet —
Ubuntu 22.04 LTS nextcloud-desktop No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS nextcloud-desktop No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 nextcloud-desktop 3.8.0-bp155.2.3.1 openSUSE-SU-2023:0171-1
SUSE Package Hub 15 SP4 nextcloud-desktop 3.8.0-bp154.2.3.1 openSUSE-SU-2023:0090-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 nextcloud-desktop 3.8.0-bp155.2.3.1 openSUSE-SU-2023:0171-1
openSUSE Leap 15.4 nextcloud-desktop 3.8.0-bp154.2.3.1 openSUSE-SU-2023:0090-1

Advisories 4

References