Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-privilege Nextcloud credentials
-
DeliveryIdentify target user's absolute WebDAV file path
-
ExploitSend LOCK request substituting victim's username in URI
-
ExecutionServer processes request without session-vs-path ownership check
-
PersistTrigger conflicting LOCK to harvest victim's token from error response
-
ImpactIssue UNLOCK with stolen token to remove victim's sync-client lock
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | A valid authenticated Nextcloud account is required (CVSS PR:L - the attacker cannot exploit this unauthenticated). The files_lock app must be installed and actively enabled on the Nextcloud instance, as the vulnerability is entirely within that app's FileService.php component. WebDAV LOCK and UNLOCK HTTP methods must be reachable on the server - these are standard endpoints enabled by default when the files_lock app is active. For the lock token disclosure component, the attacker must trigger an error response by issuing a LOCK request against an already-locked file and observe the response body. No elevated account role is required - a basic end-user account suffices. Exploitation is limited by: (1) files_lock app must be enabled (not installed by default in all configurations), (2) authenticated access only - unauthenticated exploitation is not possible per CVSS PR:L, (3) impact is confined to file locking state and token disclosure - the vulnerability does not grant read or write access to file contents directly, and Nextcloud's broader sharing and permission system is not bypassed. |
| Impact | The CVSS 3.1 score of 6.3 (Medium) reflects a network-accessible (AV:N), low-complexity (AC:L), low-privilege (PR:L), no-user-interaction (UI:N) exploit with unchanged scope and low impact across all three pillars (C:L/I:L/A:L). The C:L rating corresponds to lock token disclosure in error responses; I:L covers unauthorized lock/unlock of others' files; A:L reflects the ability to lock files and deny legitimate access. EPSS data was not provided, preventing quantitative exploitation probability assessment. This CVE is not in the CISA KEV catalog and no public POC has been identified at time of analysis, suggesting the vulnerability was responsibly disclosed via HackerOne rather than exploited in the wild. Despite the moderate CVSS, real-world risk is elevated in multi-tenant and enterprise deployments where the files_lock app is active and desktop sync clients rely on WebDAV locking - any valid account holder could disrupt collaborative workflows organization-wide. The CVSS score is consistent with the description: network access with a valid account is the only barrier. |
| Exploit ScenarioDerived | An authenticated Nextcloud user with a standard low-privilege account constructs a WebDAV LOCK request substituting a co-worker's username into the absolute DAV path (e.g., targeting /remote.php/dav/files/victim_user/financial-report.xlsx instead of their own path). The server processes the lock without ownership validation, granting the attacker a lock token over the victim's file. The attacker then intentionally triggers a conflicting lock request to harvest the victim's existing lock token from the error response, and issues a targeted UNLOCK to silently remove the lock placed by the victim's desktop sync client - enabling write access to a previously serialized file without leaving obvious traces. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Nextcloud Server's files_lock application failed to enforce file ownership during WebDAV DAV lock and unlock operations, allowing any authenticated low-privilege account to lock or unlock files belonging to other users by referencing their absolute WebDAV paths. Affected releases span Nextcloud Server 32.0.0-32.0.1 and 33.0.0, plus Nextcloud Enterprise Server in the 31.0.x, 32.x, and 33.x lines prior to their respective patches. Compounding the flaw, lock tokens were leaked in server error responses, enabling an attacker to silently remove token-based locks placed by legitimate sync clients - disrupting collaborative workflows without direct file access. No public exploit code or CISA KEV listing exists at time of analysis.
RemediationAI
Upgrade Nextcloud Server to version 32.0.2 or 33.0.1, or Nextcloud Enterprise Server to 31.0.14.4, 32.0.2, or 33.0.1 - all confirmed patched releases per the vendor advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-4chh-6mhf-p4jj. The upstream code fix is available in PR #1007 at https://github.com/nextcloud/files_lock/pull/1007. If immediate upgrade is not feasible, administrators should disable the files_lock app via the Nextcloud admin panel; this eliminates the attack surface entirely but also disables WebDAV-based file locking for all sync clients and WebDAV applications, potentially disrupting collaborative workflows that depend on it. Restricting WebDAV endpoint access to trusted IP ranges or requiring VPN authentication reduces exposure but does not eliminate risk since the attacker only requires a valid Nextcloud account - not network privilege escalation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages 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 files_lock app's FileService.php, specifically the getFileFromUri() method. The pre-patch code extracted the $userId directly from the caller-supplied WebDAV URI string using PHP's explode() function: [$root, $userId, $path] = explode('/', trim($uri, '/') . '/', 3). This meant the system trusted the user identifier embedded in the path rather than the authenticated session identity - a classic confused-deputy pattern. The fix enforces session-derived identity: $userId = $this->userSession->getUser()->getUID(), ignoring the path-supplied value entirely. WebDAV LOCK and UNLOCK are standard HTTP extension methods defined in RFC 4918 and are used extensively by Nextcloud desktop sync clients and WebDAV-aware applications for collaborative file access serialization. The root cause is classified as CWE-287 (Improper Authentication): the server authenticated the requesting user but failed to verify authorization over the targeted resource, treating path-parsed identity as equivalent to session identity.
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:N/I:L/A:N
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
Nextcloud is an open source content collaboration platform. In Nextcloud Server from versions 32.0.0 to before 32.0.2, and 33.0.0 to before 33.0.1, the files_lock app did not properly validate the ownership of files when processing DAV lock and unlock requests. An authenticated user could lock or unlock files belonging to other users by targeting their absolute WebDAV paths. Additionally, lock tokens were disclosed to unauthorized callers in error responses, allowing attackers to remove token-based locks placed by other users' client applications. It is recommended that the Nextcloud Server is upgraded to 32.0.2 or 33.0.1. It is recommended that the Nextcloud Enterprise Server is upgraded to 31.0.14.4 or 32.0.2 or 33.0.1
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.
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-33708
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB