Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryIdentify restricted file with no share rights
-
ExploitInvoke approval request with createShares=true
-
ExecutionAuthorization check bypassed in ApprovalService.php
-
PersistSystem creates shares with approvers
-
ImpactRestricted file contents exposed to unauthorized parties
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be an authenticated Nextcloud user (CVSS PR:L confirmed). They must have read access to a target file but explicitly lack sharing permissions on it - the scenario where a file owner or admin shared a file without granting re-share rights. The Nextcloud Approval app must be installed and enabled on the instance. The attacker must trigger the approval request endpoint with the createShares parameter set to true. Exploitation is limited by: requirement of valid Nextcloud credentials, the Approval app must be installed and the user must have permission to initiate approval workflows, and the target file must exist in a context where the user has file access but not sharing rights. Default Nextcloud installations without the Approval app are entirely unaffected. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) scores 6.5 (Medium), indicating a network-reachable attack requiring only low-privilege authentication with no complexity or user interaction needed. The confidentiality impact is High with no integrity or availability impact, consistent with unauthorized file disclosure rather than modification. No EPSS score was provided in the intelligence data, limiting probabilistic exploitation assessment. This vulnerability is not listed in CISA KEV, and no public exploit code has been identified at time of analysis. Despite the Medium CVSS, the real-world risk is meaningful for organizations using Nextcloud Approval workflows on sensitive documents: any low-privileged user with read access to a restricted file can weaponize the approval flow to leak it. The attack requires only authenticated access - a common condition in collaborative platforms. The scope is bounded to the Approval app; instances not running this app are unaffected. |
| Exploit ScenarioDerived | An authenticated Nextcloud user (e.g., a read-only collaborator on a confidential HR document) navigates to the Approval app and initiates an approval request for the file with the createShares option enabled. Because the pre-patch code does not verify sharing permissions, the system automatically creates shares of the restricted file with all configured approvers - users who were never intended to access the document. The approvers receive access notifications and can now read the file contents without the file owner's knowledge or consent. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Nextcloud gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
1DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Unauthenticated OS command injection in the Collabora Online Built-in CODE Server Nextcloud app (richdocumentscode) befo
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
Authorization bypass in Windmill 1.56.0-1.614.0 enables Operator role users to escalate privileges to remote code execut
Insufficient protection of the server-side encryption keys in Nextcloud Server 19.0.1 allowed an attacker to replace the
EUVD-2026-33702
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB