Unauthorized file restoration via wrong-path permission check
Published Dec 5, 2025 · Updated Dec 8, 2025
Improper authorization in Nextcloud Groupfolders allows remote authenticated users with read-only access to restore deleted files. The TrashBackend restoreItem method checks update permission against the item’s trash-bin path rather than the restored node’s unjailed destination path. Exploitation requires read-only Team Folder access and a deleted file in trash; restoration modifies stored data without write permission.
Summary
What happened
Improper authorization in Nextcloud Groupfolders allows remote authenticated users with read-only access to restore deleted files. The TrashBackend restoreItem method checks update permission against the item’s trash-bin path rather than the restored node’s unjailed destination path. Exploitation requires read-only Team Folder access and a deleted file in trash; restoration modifies stored data without write permission.
The record
- CVE
- CVE-2025-66545
- Published
- Dec 5, 2025
- Updated
- Dec 8, 2025
- Vendor
- Nextcloud GmbH
- Product
- Security Advisories
- Classifications
- CWE-707, T1565.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 5, 2025CVE publishedPublication date reported by the CVE source.
- Dec 8, 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=< 14.0.11
- Affected versionversion=>= 15.0.0-beta1, < 15.3.12
- Affected versionversion=>= 16.0.0, < 16.0.15
- Affected versionversion=>= 17.0.0-beta.1, < 17.0.14
- Affected versionversion=>= 18.0.0-beta.1, < 18.1.8
- Affected versionversion=>= 19.0.0-alpha.1, < 19.1.8
- Affected versionversion=>= 20.0.0, < 20.1.2
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
- Trash restore reproduction procedureproof of concept · demonstrated
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