CVE-2026-61838
8.2HighPublished 15 Oct 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Impact
- High impact on confidentiality
- Weakness
- CWE-285, CWE-639
Impact
Unauthenticated attackers can download full-resolution photos and metadata from password-protected albums without entering a password. They only need network access to the API and the target album's identifier.
Root cause
The /api/v2/Zip endpoint verifies download permissions using AlbumPolicy::canDownload() and PhotoPolicy::canDownload() without first verifying overall album access via AlbumPolicy::canAccess().
Affected systems
Lychee prior to 7.6.3
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade Lychee to version 7.6.3. As an interim workaround, disable the 'grants_download' setting on password-protected albums.
$ git pull origin master && composer install --no-devAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Lychee is a free, open-source photo-management tool. Prior to 7.6.3, GET /api/v2/Zip authorizes album and photo archives through AlbumPolicy::canDownload() and PhotoPolicy::canDownload() without first enforcing AlbumPolicy::canAccess(). For a public, password-protected album with grants_download enabled, an unauthenticated attacker who knows the shared album identifier can download a ZIP archive without supplying the password or unlocking the album, even though browsing endpoints deny access. The archive exposes the album's photos and can include full-resolution originals and associated metadata when grants_full_photo_access is enabled. This issue is fixed in version 7.6.3.
References
- https://github.com/LycheeOrg/Lychee/commit/4366dd0e721126dffe29659afec93aee9c1db711
- https://github.com/LycheeOrg/Lychee/pull/4459
- https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.3
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-735c-2wqc-x29r
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-735c-2wqc-x29r