{"id":"CVE-2022-39334","summary":"nextcloudcmd incorrectly trusts bad TLS certificates","details":"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.","aliases":["GHSA-82xx-98xv-4jxv"],"modified":"2026-04-14T04:27:16.855242Z","published":"2022-11-25T00:00:00Z","related":["openSUSE-SU-2023:0090-1","openSUSE-SU-2023:0171-1"],"database_specific":{"cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39334.json","cna_assigner":"GitHub_M","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"3.6.1"}]}]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/1699740"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00018.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39334.json"},{"type":"ADVISORY","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-82xx-98xv-4jxv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39334"},{"type":"REPORT","url":"https://github.com/nextcloud/desktop/issues/4927"},{"type":"FIX","url":"https://github.com/nextcloud/desktop/pull/5022"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nextcloud/desktop","events":[{"introduced":"0"},{"fixed":"5dfc0caab65080b4c3c8c3ac42bac766c11ea28c"}],"database_specific":{"cpe":"cpe:2.3:a:nextcloud:desktop:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"3.6.1"}]}}],"versions":["v0.0.2","v1.1.0","v1.1.0-beta1","v1.1.2","v1.2.0","v1.2.1","v1.2.2","v1.2.3","v1.2.4","v1.2.5","v1.3.0-beta1","v1.3.0-beta2","v1.3.0-beta3","v1.4.0","v1.4.0-beta1","v1.4.0-beta2","v1.4.0-rc1","v1.5.0","v1.5.0-beta1","v1.5.0-beta1-2nd","v1.5.0-beta2","v1.5.0-beta3","v1.5.1-rc1","v1.6.0","v1.6.0-beta1","v1.6.0-beta2","v1.6.0-rc1","v1.6.0-rc2","v1.6.0-rc3","v1.8.0-beta1","v1.8.0-beta1a","v2.5.0","v2.5.0-beta1","v2.5.0-beta2","v2.5.0-rc1","v2.5.0-rc2","v2.5.1","v2.5.2","v2.5.2-rc1","v2.5.3-rc1","v2.5.3-rc2","v2.7.0-beta1","v2.7.0-beta2","v2.7.0-beta3","v2.7.0-rc1","v3.1.0","v3.1.0-rc1","v3.1.0-rc2","v3.2.0-rc1","v3.2.0-rc2","v3.2.0-rc3","v3.3.0","v3.3.0-rc1","v3.3.0-rc2","v3.4.0-do-not-use","v3.4.0-rc1","v3.4.0-rc2","v3.5.0","v3.5.0-rc1","v3.5.0-rc2","v3.5.0-rc3","v3.5.0-rc4","v3.6.0","v3.6.0-rc1","v3.6.0-rc2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-39334.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}]}