# CVE-2024-52516: Nextcloud Server's shares are not removed when user is limited to share with in their groups and being removed from one of them

- Severity: Low 3.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/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.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-11-15T16:55:18.934Z
- Modified: 2026-06-17T08:07:22.293Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud Server is a self hosted personal cloud system. When a server is configured to only allow sharing with users that are in ones own groups, after a user was removed from a group, previously shared items were not unshared. It is recommended that the Nextcloud Server is upgraded to 22.2.11 or 23.0.11 or 24.0.6 and Nextcloud Enterprise Server is upgraded to 22.2.11 or 23.0.11 or 24.0.6.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 28.0.0, < 28.0.9; >= 29.0.0, < 29.0.5
- nextcloud nextcloud_server: from 26.0.0 before 26.0.13.9; from 27.0.0 before 27.1.11.9; from 28.0.0 before 28.0.9; from 29.0.0 before 29.0.5

## Every score

- GitHub_M: CVSS:3.1 3.0 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/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`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35gc-jc6x-29cm> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/47180> (issue-tracking)
- <https://github.com/nextcloud/server/commit/142b6e313ffa9d3b950bcd23cb58850d3ae7cf34> (patch)

## Sources

- CVE List: [CVE-2024-52516](https://www.cve.org/CVERecord?id=CVE-2024-52516), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2024-52516](https://nvd.nist.gov/vuln/detail/CVE-2024-52516), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52516 · Whole record: https://cve.day/CVE-2024-52516.json · Rebuilt by cve.day 2026-11-25T22:58:48.311Z
