# CVE-2022-41882: Nextcloud Desktop vulnerable to code injection via malicious link

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-02)
- Published: 2022-11-11T00:00:00.000Z
- Modified: 2026-06-17T05:03:59.323Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: = 3.6.0
- nextcloud desktop: 3.6.0

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-3w86-rm38-8w63> (third-party-advisory)
- <https://github.com/nextcloud/desktop/pull/5039> (patch, third-party-advisory)
- <https://github.com/nextcloud/server/pull/34559> (patch, third-party-advisory)
- <https://github.com/nextcloud/desktop/releases/tag/v3.6.1> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-41882](https://www.cve.org/CVERecord?id=CVE-2022-41882), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-41882](https://nvd.nist.gov/vuln/detail/CVE-2022-41882), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41882 · Whole record: https://cve.day/CVE-2022-41882.json · Rebuilt by cve.day 2026-11-25T22:58:16.424Z
