Nextcloud Desktop vulnerable to code injection via malicious link
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-41882
References
More nextcloud Desktop vulnerabilities
- TI-2022-18709 Cross-site scripting (XSS) in Nextcloud Desktop Client CVSS 3.1MEDIUM 6.1
- TI-2022-18708 Cross-site scripting (XSS) in Nextcloud Desktop Client CVSS 3.1MEDIUM 5.4
- TI-2022-18707 Cross-site Scripting (XSS) in Nexcloud Desktop Client CVSS 3.1MEDIUM 5.4
- TI-2022-18710 nextcloudcmd incorrectly trusts bad TLS certificates CVSS 3.1MEDIUM 4.7
- TI-2020-06645 Path traversal in Desktop Client CVSS 3.1MEDIUM 6.8
- TI-2021-05740 Injection in Nextcloud Desktop Client CVSS 3.1HIGH 8.8
Sources
- CVE-2022-41882 · CVE Program
- CVE-2022-41882 · NVD
- FIRST EPSS
- CVE-2022-41882 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences