CVE-2026-45282 Nextcloud: Logged-in user bypasses share password and download restrictions on Text attachments via documentId leads to unauthorized file access
- Published
- Updated
- Exploit status
- No public exploit known
Description
Nextcloud is an open source content collaboration platform. In Nextcloud Server from versions 32.0.0 to before 32.0.9, and 33.0.0 to before 33.0.3, an authenticated attacker can access attachments of link shares when knowing the share token, circumventing password protection or download restrictions. It is applicable to any file that is shared directly, as the attacker only needs to know a documentId they own, apart of the mentioned share token. For shared folders the attacker has to know or guess a documentId of a file that is included inside the folder, making it much harder to exploit. The attacker can only extract an attachments, but not the file shared file or folder itself. It is recommended that the Nextcloud Server is upgraded to 33.0.3 or 32.0.9. It is recommended that the Nextcloud Enterprise Server is upgraded to 33.0.3, 32.0.9, 31.0.14.5, 30.0.17.9, 29.0.16.16, 28.0.14.17 or 27.1.11.5
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 32.0.0, < 32.0.9 | No fix listed |
| Nextcloud security-advisories | = >= 33.0.0, < 33.0.3 | No fix listed |
| nextcloud server | >= 32.0.0, < 32.0.9 | 32.0.9 |
| nextcloud server | >= 33.0.0, < 33.0.3 | 33.0.3 |
| nextcloud server | >= 27.0.0, < 27.1.11.5 | 27.1.11.5 |
| nextcloud server | >= 28.0.0, < 28.0.14.17 | 28.0.14.17 |
| nextcloud server | >= 29.0.0, < 29.0.16.16 | 29.0.16.16 |
| nextcloud server | >= 30.0.0, < 30.0.17.9 | 30.0.17.9 |
| nextcloud server | >= 31.0.0, < 31.0.14.5 | 31.0.14.5 |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-35fx-69q6-xpjr mitigation vendor-advisory
- https://github.com/nextcloud/text/pull/8499 issue-tracking patch
- https://hackerone.com/reports/3577244 permissions-required