Cross-user file access via temporary-file race
Published May 16, 2025 · Updated May 16, 2025
Improper access control in affected Nextcloud Server releases allows attackers on multi-user hosts to access another account's temporary files. TempManager derived a suffixed path from a temporary filename, then created it with touch and changed its permissions afterward instead of opening a new randomized path exclusively. Exploitation requires access to the same multi-user system and enables cross-account temporary-file access or a symlink-based write redirection.
Summary
What happened
Improper access control in affected Nextcloud Server releases allows attackers on multi-user hosts to access another account's temporary files. TempManager derived a suffixed path from a temporary filename, then created it with touch and changed its permissions afterward instead of opening a new randomized path exclusively. Exploitation requires access to the same multi-user system and enables cross-account temporary-file access or a symlink-based write redirection.
The record
- CVE
- CVE-2025-47794
- Published
- May 16, 2025
- Updated
- May 16, 2025
- Vendor
- Nextcloud GmbH
- Product
- Security Advisories
- Classifications
- CWE-284, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 16, 2025CVE publishedPublication date reported by the CVE source.
- May 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 26.0.0, < 26.0.13.13
- Affected versionversion=>= 27.0.0, < 27.1.11.13
- Affected versionversion=>= 28.0.0, < 28.0.14.4
- Affected versionversion=>= 29.0.0, < 29.0.13
- Affected versionversion=>= 30.0.0, < 30.0.7
- Affected versionversion=>= 31.0.0, < 31.0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo