Skip to content
Heist/ feed
Back to feed
Low

Nextcloud Server's read-only users can restore old versions

Type: advisorySources: OSV

Nextcloud Server is a self hosted personal cloud system. An attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled. It is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3 and that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3.

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

Source evidence

Nextcloud Server's read-only users can restore old versions

core-osv · Original source

Published 14 Jun 2024, 15:08 UTC

Nextcloud Server is a self hosted personal cloud system. An attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled. It is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3 and that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3.

osv:CVE-2024-37315
Complete source record
{
  "id": "b1fd1fd40c0bf3afcca0987ef42bb9b8a79619adbe3f9dba52fa041e4652a9a8",
  "url": "https://osv.dev/vulnerability/CVE-2024-37315",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nextcloud Server's read-only users can restore old versions",
    "summary": "Nextcloud Server is a self hosted personal cloud system. An attacker with read-only access to a file is able to restore older versions of a document when the files_versions app is enabled. It is recommended that the Nextcloud Server is upgraded to 26.0.12, 27.1.7 or 28.0.3 and that the Nextcloud Enterprise Server is upgraded to 23.0.12.16, 24.0.12.12, 25.0.13.6, 26.0.12, 27.1.7 or 28.0.3.",
    "evidence": "osv:CVE-2024-37315",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-37315",
      "aliases": [
        "CVE-2024-37315",
        "GHSA-5mq8-738w-5942"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0619207f13792250aea775a2c3133d41ab625980"
                },
                {
                  "last_affected": "4eca7512330808a958cbf00bbd9044ea77b3ab6b"
                },
                {
                  "introduced": "5f37aacb3194d51503aaa3529ae8f676b32a25d7"
                },
                {
                  "last_affected": "5b79bb15b510f52ab598fa45e6977857a9d4895a"
                },
                {
                  "introduced": "20ea9a25353129b56d46951fe7d23939665ab2b2"
                },
                {
                  "fixed": "30fb8a53b04c623db368d29a83e8e1153a2d6b07"
                },
                {
                  "introduced": "62cfd3b4c9ff4d8cdbbe6dcc8b63a1085bb94e3d"
                },
                {
                  "fixed": "fd03ac346585d029018b6a4a191eed0d9165aedb"
                },
                {
                  "introduced": "add4e4365a4040d2e4e6aa79c0d03c3edd78583c"
                },
                {
                  "fixed": "7a6508b853a484340d9c62068ef99723617467eb"
                },
                {
                  "introduced": "e15fcecaf0d382cebff924ec2b1f5319e130c0e8"
                },
                {
                  "fixed": "f7470ab973d9dc3c979accd95985d71cf80653fa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "23.0.0"
                      },
                      {
                        "last_affected": "23.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "24.0.0"
                      },
                      {
                        "last_affected": "24.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "25.0.0"
                      },
                      {
                        "fixed": "25.0.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "26.0.0"
                      },
                      {
                        "fixed": "26.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "26.0.0"
                      },
                      {
                        "fixed": "26.0.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "27.0.0"
                      },
                      {
                        "fixed": "27.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "27.0.0"
                      },
                      {
                        "fixed": "27.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "28.0.0"
                      },
                      {
                        "fixed": "28.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "28.0.0"
                      },
                      {
                        "fixed": "28.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v26.0.12rc2",
            "v27.1.7rc2",
            "v28.0.3rc2",
            "v26.0.12rc1",
            "v27.1.7rc1",
            "v28.0.3rc1",
            "v28.0.2",
            "v28.0.2rc5",
            "v28.0.2rc4",
            "v26.0.11",
            "v27.1.6",
            "v28.0.2rc3",
            "v28.0.2rc2",
            "v26.0.11rc2",
            "v27.1.6rc2",
            "v26.0.11rc1",
            "v27.1.6rc1",
            "v28.0.2rc1",
            "v28.0.1",
            "v28.0.1rc1",
            "v26.0.10",
            "v27.1.5",
            "v28.0.0",
            "v26.0.10rc1",
            "v27.1.5rc1",
            "v26.0.9",
            "v27.1.4",
            "v27.1.4rc1",
            "v26.0.9rc1",
            "v26.0.8",
            "v27.1.3",
            "v25.0.13rc2",
            "v26.0.8rc2",
            "v27.1.3rc2",
            "v25.0.13rc1",
            "v26.0.8rc1",
            "v27.1.3rc1",
            "v27.1.2",
            "v27.1.2rc1",
            "v27.1.1",
            "v25.0.12",
            "v26.0.7",
            "v27.1.0",
            "v25.0.11",
            "v26.0.6",
            "v27.1.0rc4",
            "v27.1.0rc3",
            "v25.0.11rc1",
            "v26.0.6rc1",
            "v27.1.0rc2",
            "v27.1.0rc1",
            "v27.1.0beta3",
            "v27.1.0beta2",
            "v25.0.10",
            "v26.0.5",
            "v27.0.2",
            "v25.0.10rc1",
            "v26.0.5rc1",
            "v27.0.2rc1",
            "v25.0.9",
            "v26.0.4",
            "v27.0.1",
            "v25.0.9rc2",
            "v26.0.4rc2",
            "v27.0.1rc2",
            "v26.0.4rc1",
            "v27.0.1rc1",
            "v25.0.9rc1",
            "v25.0.8",
            "v26.0.3",
            "v25.0.8rc2",
            "v26.0.3rc2",
            "v25.0.8rc1",
            "v26.0.3rc1",
            "v27.0.0",
            "v25.0.7",
            "v26.0.2",
            "v25.0.7rc1",
            "v26.0.2rc1",
            "v24.0.12",
            "v25.0.6",
            "v26.0.1",
            "v24.0.12rc1",
            "v25.0.6rc1",
            "v26.0.1rc1",
            "v24.0.11",
            "v25.0.5",
            "v26.0.0",
            "v24.0.11rc1",
            "v25.0.5rc1",
            "v24.0.10",
            "v25.0.4",
            "v24.0.10rc1",
            "v25.0.4rc1",
            "v25.0.3",
            "v24.0.9",
            "v24.0.9rc2",
            "v25.0.3rc2",
            "v24.0.9rc1",
            "v25.0.3rc1",
            "v23.0.12",
            "v24.0.8",
            "v25.0.2",
            "v25.0.2rc3",
            "v25.0.2rc2",
            "v23.0.12rc2",
            "v24.0.8rc2",
            "v23.0.12rc1",
            "v24.0.8rc1",
            "v25.0.2rc1",
            "v23.0.11",
            "v24.0.7",
            "v25.0.1",
            "v25.0.1rc1",
            "v24.0.7rc1",
            "v23.0.11rc1",
            "v25.0.0",
            "v23.0.10",
            "v24.0.6",
            "v23.0.10rc1",
            "v24.0.6rc1",
            "v23.0.9",
            "v24.0.5",
            "v23.0.9rc1",
            "v24.0.5rc1",
            "v23.0.8",
            "v24.0.4",
            "v23.0.8rc1",
            "v24.0.4rc1",
            "v23.0.7",
            "v24.0.3",
            "v23.0.7rc2",
            "v24.0.3rc2",
            "v23.0.7rc1",
            "v24.0.3rc1",
            "v23.0.6",
            "v24.0.2",
            "v23.0.6rc1",
            "v24.0.2rc1",
            "v23.0.5",
            "v24.0.1",
            "v23.0.5rc1",
            "v24.0.1rc1",
            "v24.0.0",
            "v23.0.4",
            "v23.0.4rc1",
            "v23.0.3",
            "v23.0.3rc2",
            "v23.0.3rc1",
            "v23.0.2",
            "v23.0.2rc1",
            "v23.0.1",
            "v23.0.1rc3",
            "v23.0.1rc2",
            "v23.0.1rc1",
            "v23.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37315.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.632914386Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/1356508",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37315.json",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-37315",
        "https://github.com/nextcloud/server/pull/43727"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37315.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-37315",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507001,
  "published_at": "2024-06-14T15:08:54.357+00:00"
}