# CVE-2021-41241: Advanced permissions is not respected for subfolders in Nextcloud server

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-08 · Modified: 2025-04-23
- Record: https://cvemate.com/vulnerability/CVE-2021-41241 · JSON: https://cvemate.com/vulnerability/CVE-2021-41241/json

## Description

```text
Nextcloud server is a self hosted system designed to provide cloud style services. The groupfolders application for Nextcloud allows sharing a folder with a group of people. In addition, it allows setting "advanced permissions" on subfolders, for example, a user could be granted access to the groupfolder but not specific subfolders. Due to a lacking permission check in affected versions, a user could still access these subfolders by copying the groupfolder to another location. It is recommended that the Nextcloud Server is upgraded to 20.0.14, 21.0.6 or 22.2.1. Users unable to upgrade should disable the "groupfolders" application in the admin settings.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.85%, percentile 59.434%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud nextcloud\_server: \< 20.0.14 \| ≥ 21.0.0, \< 21.0.6 \| 22.2.0
- nextcloud security-advisories: \< 20.0.14 \| ≥ 21.0.0, \< 21.0.6 \| ≥ 22.2.0, \< 22.2.1

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m4wp-r357-4q94>
- <https://github.com/nextcloud/groupfolders/issues/1692>
- <https://github.com/nextcloud/server/pull/29362>
- <https://security.gentoo.org/glsa/202208-17>

---

Data as of 2026-12-05T08:23:44.788Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
