Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege Nextcloud account
-
DeliveryAccess any valid file comment via DAV endpoint
-
ExploitEnumerate arbitrary comment IDs in subsequent requests
-
ExecutionServer returns comments without objectType/objectId ownership validation
-
ImpactRead sensitive comment content from inaccessible files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The attacker must hold a valid authenticated Nextcloud account with at least low-privilege access (PR:L confirmed by CVSS vector) - unauthenticated exploitation is not possible. The attacker must have interacted with at least one file comment on the instance to obtain a valid DAV comment endpoint reference, providing the foothold to begin enumerating other comment IDs. The Nextcloud Comments app must be enabled, which is the default configuration for standard Nextcloud installations; instances where the Comments app has been explicitly disabled via admin settings are not affected. User interaction (UI:R) is required per CVSS, limiting fully automated bulk enumeration but not preventing manual iteration by a motivated authenticated insider. No administrative privileges, file ownership, or non-default configuration is required beyond a basic authenticated account. The vulnerability is version-bounded to Nextcloud Server 31.0.0-31.0.11 and 32.0.0-32.0.2; instances running 31.0.12, 32.0.3, or any patched Enterprise release are not affected. |
| Impact | CVSS 6.8 Medium with vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N reflects a network-reachable, low-complexity attack requiring low-privilege authentication and some user interaction, producing Changed scope and High confidentiality impact with no integrity or availability loss. The S:C (Changed scope) is the most operationally significant signal: the exploit transcends the attacker's original access context, allowing reads of comments on files they cannot otherwise access - including other users' private collaboration threads. The UI:R component is atypical for an IDOR and likely reflects a required authenticated session interaction step rather than passive exploitation, which limits fully automated mass exfiltration but does not meaningfully protect against a determined insider. No EPSS score was supplied in the intelligence data. The vulnerability is not in CISA KEV and no POC code was identified, placing exploitation status at no public exploit identified at time of analysis. The practical real-world risk is moderate: the attacker population is bounded to authenticated accounts, which is a meaningful control in access-restricted deployments, but any valid low-privilege account is sufficient - there is no requirement for administrative or file-owner privileges. |
| Exploit ScenarioDerived | An authenticated Nextcloud user with access to at least one file comment iterates through comment IDs by manipulating the WebDAV comment endpoint URL, requesting comment resources whose IDs fall outside their own file-access scope. Because the server previously returned any comment by numeric ID without verifying it belonged to the requested file collection, the attacker reads comments containing sensitive information such as internal project notes, shared credentials, or confidential review feedback from files they cannot otherwise open. No public exploit code has been identified at time of analysis, but the IDOR pattern requires only standard HTTP requests and knowledge of comment ID ranges, making manual exploitation straightforward for any authenticated user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Comment authorization bypass in Nextcloud Server 31.x and 32.x allows authenticated low-privilege users to read all file comments system-wide, bypassing file-level access controls. Affected are Nextcloud Server 31.0.0-31.0.11 and 32.0.0-32.0.2, plus a broad range of Nextcloud Enterprise Server branches. No public exploit has been identified at time of analysis and the vulnerability is absent from CISA KEV, but the CVSS Changed scope rating indicates sensitive organizational data embedded in comments - internal notes, credentials, review feedback - can be exposed cross-user without any file-access permission.
RemediationAI
Vendor-released patch: Nextcloud Server 31.0.12 or 32.0.3 for community editions; Nextcloud Enterprise Server users should upgrade to the patched release for their branch (21.0.9.20, 22.2.10.35, 23.0.12.31, 24.0.12.30, 25.0.13.25, 26.0.13.22, 27.1.11.22, 28.0.14.13, 29.0.16.10, 30.0.17.5, 31.0.12, or 32.0.3). The upstream code fix is available in merged PR https://github.com/nextcloud/server/pull/56982. If immediate patching is not feasible, disabling the Comments app entirely via Admin → Apps → Comments is the most effective compensating control and eliminates the vulnerable DAV endpoint, but removes all comment functionality from the platform. A narrower mitigation is restricting Nextcloud file sharing and comment access to a minimal set of trusted users via admin group policies - this reduces the population of potential exploiters but does not eliminate the vulnerability for authorized users. Neither workaround substitutes for patching. The full vendor security advisory is at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-285v-p9x9-cjhj and the HackerOne disclosure at https://hackerone.com/reports/3425534.
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 apps/dav/lib/Comments/EntityCollection.php within Nextcloud's WebDAV comments subsystem. The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key), a classic IDOR pattern: when fetching a comment by its numeric ID, the server previously failed to verify that the returned comment's objectType and objectId matched the DAV collection context being traversed. An attacker could supply an arbitrary comment ID while accessing any valid comment endpoint, and the server would return the target comment without validating ownership. The fix adds explicit getObjectType() and getObjectId() boundary checks in both the getId() and childExists() methods of EntityCollection. The same PR also patches QueryBuilder.php and ShardedQueryBuilder.php to sanitize ORDER BY direction parameters to only 'ASC' or 'DESC', closing a separate injection vector in the query layer. The CPE entry cpe:2.3:a:nextcloud:security-advisories covers the advisory scope.
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:R/S:C/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. In Nextcloud Server from versions 31.0.0 to before 31.0.12, and 32.0.0 to before 32.0.3, a missing check of a relation allowed authenticated users with access to any file comment, to read the content of all comments. It is recommended that the Nextcloud Server is upgraded to 31.0.12 or 32.0.3. It is recommended that the Nextcloud Enterprise Server is upgraded to 21.0.9.20, 22.2.10.35, 23.0.12.31, 24.0.12.30, 25.0.13.25, 26.0.13.22, 27.1.11.22, 28.0.14.13, 29.0.16.10, 30.0.17.5, 31.0.12 or 32.0.3
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-33720
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB