CVE-2022-41882
published medium CVSS 3.1 · 6.6Nextcloud Desktop vulnerable to code injection via malicious link
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories= 3.6.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.17 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.18 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.19 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.20 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.21 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.22 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
| Alpine Linux | v3.24 | nextcloud-client | Fixed | 3.6.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | = 3.6.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
3GitHub_M · cna
Nextcloud Desktop vulnerable to code injection via malicious link
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7518f56cee3e3f8ad2a9c01ba6a0b8b62b160cbbf7abbff967daeb8257bd791e
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record