CVE-2022-41882: nextcloud desktop Code Injection
Vulnerability summary
CVE-2022-41882 is a high (CVSS 7.8) Code Injection vulnerability in nextcloud desktop. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41% of scored vulnerabilities.
Timeline
- 11-11-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- CVE.orgCNA6.6MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
0.00 pp
From 0.49% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Nextcloud2 products
- desktop3.6.0
- security-advisories= 3.6.0
Debian1 product
- nextcloud-desktop< 3.6.1-1
Ubuntu1 product
- nextcloud-desktopAll versions (No fix recorded)
3 vendors · 4 products
References
7 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63REPORTThird Party Advisory