GHSA-5gv7-hw69-w6px / CVE-2026-82985: Shared smart albums in the Photos app can expose files outside the album owner's configured source folders
- Published:
- Fetched:
- Updated:
- Affects:
- nextcloud Server
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5gv7-hw69-w6px ↗
Shared smart albums in the Photos app can expose files outside the album owner's configured source folders ### Impact The Photos app's filter-based "smart albums" build their file listing using the search configuration (`photosSourceFolders`) of the user viewing the album, rather than the album owner's configuration. When an album owner shares a smart album with another user, that user's own folder configuration is used to determine which of the owner's files are searched — allowing them to discover files (name, file ID, and other metadata) in folders the album owner never intended to include in the shared album. This requires the album owner to have shared a filter-based smart album with the attacker; it does not allow access to arbitrary users' files without such a share. ### Patches It is recommended that the Nextcloud Server is upgraded to 32.0.6 or later It is recommended that the Nextcloud Enterprise Server is upgraded to 32.0.6 or later ### Workarounds * Do not share filter-based smart albums until upgraded ### References * [HackerOne](https://hackerone.com/reports/3506873) * [PullRequest](https://github.com/nextcloud/photos/pull/3403) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com) Affected packages: nextcloud entreprise:Server, nextcloud:Server Patched: Server 32.0.6, Server 32.0.6