Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Nextcloud is an open source content collaboration platform. Prior to version 2.7.2, a privilege escalation vulnerability exists in the Approval app that allows a user without sharing permissions to force the system to share a file with approvers. This results in an authorization bypass and privilege escalation, allowing unauthorized distribution of restricted files. This issue has been patched in version 2.7.2.
AnalysisAI
Privilege escalation in the Nextcloud Approval app (prior to version 2.7.2) allows authenticated users who lack sharing permissions to force the platform to distribute restricted files to approval workflow participants. By invoking the approval request flow with the createShares flag enabled, a user can bypass the system's file-sharing authorization controls entirely, causing files marked as non-shareable to be shared with designated approvers. No public exploit has been identified at time of analysis, but a vendor-confirmed patch and upstream PR diff are available.
Technical ContextAI
The vulnerability resides in the Nextcloud Approval app's ApprovalService.php, specifically within the request() method responsible for initiating file approval workflows. The root cause is CWE-285 (Improper Authorization): when a user triggers an approval request with createShares=true, the code previously proceeded to create file shares with approvers without first verifying whether the requesting user held sharing permissions on that file. The fix introduced a new userCanShareFile() check in UtilsService.php that queries the file node's isShareable() property against the requesting user's folder context. Affected product is identified via CPE cpe:2.3:a:nextcloud:security-advisories:*:*:*:*:*:*:*:* - the Nextcloud Approval app running on any Nextcloud instance prior to app version 2.7.2. The underlying platform handles file permissions separately from the approval subsystem, and the app failed to enforce platform-level sharing restrictions at the authorization boundary.
RemediationAI
Upgrade the Nextcloud Approval app to version 2.7.2 or later, which introduces a userCanShareFile() authorization check in ApprovalService.php before any share creation is permitted during approval workflows. The upstream fix is documented in pull request #392 at https://github.com/nextcloud/approval/pull/392 and the security advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v8q8-w6c3-3gv9. If immediate upgrade is not possible, a compensating control is to disable or restrict access to the Approval app for users who should not have sharing capabilities; however, this may disrupt legitimate approval workflows. Administrators can also audit current Nextcloud sharing permission assignments to ensure that users with access to sensitive files are not granted Approval app initiation rights until the patch is applied.
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
A too lax check in Nextcloud Talk 6.0.4, 7.0.2 and 8.0.7 allowed a code injection when a not correctly sanitized talk co
Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Rated critical severity (CVSS 9.8),
Unauthenticated vector-store tampering in Nextcloud MCP Server before 0.117.2 lets any network attacker who can reach th
Nextcloud Server before 9.0.54 and 10.0.1 & ownCloud Server before 9.1.2, 9.0.6, and 8.2.9 suffer from SMB User Authenti
NextCloud Cookbook is a recipe library app. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
Nextcloud server is an open source home cloud implementation. Rated high severity (CVSS 8.8), this vulnerability is remo
Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowi
lib/Controller/ExtractionController.php in the Extract add-on before 1.2.0 for Nextcloud allows Remote Code Execution vi
Insufficient protection of the server-side encryption keys in Nextcloud Server 19.0.1 allowed an attacker to replace the
A bug in Nextcloud Server 14.0.4 could expose more data in reshared link shares than intended by the sharer. Rated high
Improper access control in Nextcloud Deck 0.8.0 allowed an attacker to reshare boards shared with them with more permiss
Same weakness CWE-285 – Improper Authorization
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-33702