← Vulnerability feed

Vulnerability record · CVE-2022-41882 · published 11 November 2022

CVE-2022-41882: Nextcloud desktop code injection vulnerability

Nextcloud · Desktop

The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. In version 3.6.0, if a user received a malicious file share and has it synced locally or the virtual filesystem enabled and clicked a nc://open/ link it will open the default editor for the file type of the shared file, which on Windows can also sometimes mean that a file depending on the type, e.g. "vbs", is being executed. It is recommended that the Nextcloud Desktop client is upgraded to version 3.6.1. As a workaround, users can block the Nextcloud Desktop client 3.6.0 by setting the `minimum.supported.desktop.version` system config to `3.6.1` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing files can still be used. Another workaround would be to enforce shares to be accepted by setting the `sharing.force_share_accept` system config to `true` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing shares can still be abused.

7.8 CVSS 3.1 High EPSS 0.49% · top 60.4% CWE-94 · Code injection
7.8CVSS 3.1 base score
0.49%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References
17 Jun 2026Last modified by NVD

Description

The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. In version 3.6.0, if a user received a malicious file share and has it synced locally or the virtual filesystem enabled and clicked a nc://open/ link it will open the default editor for the file type of the shared file, which on Windows can also sometimes mean that a file depending on the type, e.g. "vbs", is being executed. It is recommended that the Nextcloud Desktop client is upgraded to version 3.6.1. As a workaround, users can block the Nextcloud Desktop client 3.6.0 by setting the `minimum.supported.desktop.version` system config to `3.6.1` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing files can still be used. Another workaround would be to enforce shares to be accepted by setting the `sharing.force_share_accept` system config to `true` on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing shares can still be abused.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-41882 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2024-46958Nextcloud desktop vulnerabilityIn Nextcloud Desktop Client 3.13.1 through 3.13.3 on Linux, synchronized files (between the server and client) may become world writable or world rea…EPSS 0.56%8.8CVE-2023-22472Nextcloud desktop cross-site request forgery vulnerabilityDeck is a kanban style organization tool aimed at personal planning and project organization for teams integrated with Nextcloud. It is possible to m…EPSS 0.20%8.8CVE-2021-22879Nextcloud desktop injection vulnerabilityNextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowing a malicious server to exec…EPSS 4.7%7.8CVE-2024-37885Nextcloud desktop code injection vulnerabilityThe Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. A code injection in Nextcloud Desktop Client fo…EPSS 0.32%7.8CVE-2020-8224Nextcloud desktop code injection vulnerabilityA code injection in Nextcloud Desktop Client 2.6.4 allowed to load arbitrary code when placing a malicious OpenSSL config into a fixed directory.EPSS 0.66%7.5CVE-2024-52510Nextcloud desktop improper certificate validation vulnerabilityThe Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. The Desktop client did not stop with an error b…EPSS 0.74%7.5CVE-2020-8225Nextcloud desktop cleartext storage of sensitive data vulnerabilityA cleartext storage of sensitive information in Nextcloud Desktop Client 2.6.4 gave away information about used proxies and their authentication cred…EPSS 0.91%7.3CVE-2021-37617Nextcloud desktop untrusted search path vulnerabilityThe Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with a computer. The Nextcloud Desktop Client invokes its uninstall…EPSS 0.46%

Source: NIST National Vulnerability Database (record CVE-2022-41882), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.