Skip to content
Heist/ feed
Back to feed
Low

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52516
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:21 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 15 Nov 2024, 16:55 UTC

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.

osv:CVE-2024-52516
Complete source record
{
  "id": "84d054ec9cecc93c4adc852f40c18d948cebd89969ed5d57873981d5483b8f14",
  "url": "https://osv.dev/vulnerability/CVE-2024-52516",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nextcloud Server's shares are not removed when user is limited to share with in their groups and being removed from one of them",
    "summary": "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.",
    "evidence": "osv:CVE-2024-52516",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-52516",
      "aliases": [
        "CVE-2024-52516",
        "GHSA-35gc-jc6x-29cm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e15fcecaf0d382cebff924ec2b1f5319e130c0e8"
                },
                {
                  "fixed": "39780506f0b4b171ba67eeb967a0b80f0dc62d0f"
                },
                {
                  "introduced": "36ae775aa7c9af22bf33645a2d8807206ec6c85f"
                },
                {
                  "fixed": "5b8bbd375fefce3e9fb9564abcc395706bd1a622"
                },
                {
                  "fixed": "142b6e313ffa9d3b950bcd23cb58850d3ae7cf34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "28.0.0"
                      },
                      {
                        "fixed": "28.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "28.0.0"
                      },
                      {
                        "fixed": "28.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "29.0.0"
                      },
                      {
                        "fixed": "29.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "29.0.0"
                      },
                      {
                        "fixed": "29.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "142b6e313ffa9d3b950bcd23cb58850d3ae7cf34"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v28.0.9rc1",
            "v29.0.5rc1",
            "v28.0.8",
            "v29.0.4",
            "v28.0.8rc1",
            "v29.0.4rc1",
            "v28.0.7",
            "v29.0.3",
            "v28.0.7rc4",
            "v29.0.3rc4",
            "v28.0.7rc3",
            "v29.0.3rc3",
            "v28.0.7rc2",
            "v29.0.3rc2",
            "v29.0.3rc1",
            "v28.0.7rc1",
            "v29.0.2",
            "v29.0.2rc2",
            "v29.0.2rc1",
            "v28.0.6",
            "v29.0.1",
            "v28.0.6rc1",
            "v29.0.1rc1",
            "v28.0.5",
            "v29.0.0",
            "v28.0.5rc1",
            "v28.0.4",
            "v28.0.4rc1",
            "v28.0.3",
            "v28.0.3rc2",
            "v28.0.3rc1",
            "v28.0.2",
            "v28.0.2rc5",
            "v28.0.2rc4",
            "v28.0.2rc3",
            "v28.0.2rc2",
            "v28.0.2rc1",
            "v28.0.1",
            "v28.0.1rc1",
            "v28.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52516.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.344234313Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52516.json",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35gc-jc6x-29cm",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52516",
        "https://github.com/nextcloud/server/commit/142b6e313ffa9d3b950bcd23cb58850d3ae7cf34",
        "https://github.com/nextcloud/server/pull/47180"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52516.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52516",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507954,
  "published_at": "2024-11-15T16:55:18.934+00:00"
}