# CVE-2024-37315: Nextcloud Server's read-only users can restore old versions

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/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.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-06-14T15:08:54.357Z
- Modified: 2026-06-17T07:38:07.653Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 26.0.0, < 26.0.12; >= 27.0.0, < 27.1.7; >= 28.0.0, < 28.0.3
- nextcloud nextcloud_server: from 23.0.0 up to 23.0.12; from 24.0.0 up to 24.0.12; from 25.0.0 before 25.0.13; from 26.0.0 before 26.0.12; from 27.0.0 before 27.1.7; from 28.0.0 before 28.0.3

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/43727> (patch)
- <https://hackerone.com/reports/1356508> (issue-tracking)

## Sources

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

---

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