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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- 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.85%, higher than 56% of CVEs (2026-11-30)
- Published: 2022-03-08T18:25:10.000Z
- Modified: 2026-06-17T04:08:09.333Z
- Weaknesses: CWE-862, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 20.0.14; >= 21.0.0, < 21.0.6; >= 22.2.0, < 22.2.1
- nextcloud nextcloud_server: before 20.0.14; from 21.0.0 before 21.0.6; 22.2.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m4wp-r357-4q94> (issue-tracking, third-party-advisory)
- <https://github.com/nextcloud/groupfolders/issues/1692> (issue-tracking, patch, third-party-advisory)
- <https://github.com/nextcloud/server/pull/29362> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-17> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-41241 · Whole record: https://cve.day/CVE-2021-41241.json · Rebuilt by cve.day 2026-11-25T22:58:07.148Z
