Summary
CVE-2026-61838 is an improper authorization vulnerability (CWE-285, CWE-639) in Lychee, the open-source photo-management application. Versions before 7.6.3 let an unauthenticated remote attacker download ZIP archives of password-protected albums without supplying credentials. The CVSS score is 8.2 (High).
Technical details
- Root cause: the
GET /api/v2/Zipendpoint authorizes album and photo archives throughAlbumPolicy::canDownload()andPhotoPolicy::canDownload()without first enforcingAlbumPolicy::canAccess(). - Trigger conditions: the attacker needs to know the shared album identifier. Per the public CVE description and a third-party summary, the album is public and password-protected with download enabled (
grants_download). - Attack vector: network, no authentication and no user interaction. The attacker requests the ZIP endpoint directly. Browsing endpoints still deny access.
- Impact: loss of confidentiality of the album contents. The archive can include full-resolution originals and associated metadata when
grants_full_photo_accessis enabled. The password protection on the album is bypassed.
Affected software
- Lychee (LycheeOrg) versions earlier than 7.6.3
Severity
- CVSS v4.0 base score 8.2 (High), as published by the CNA
- Vector:
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 - No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: upgrade Lychee to version 7.6.3 or later.
- If you cannot patch right away: the sources reviewed list no workarounds. As an interim step, consider disabling download permissions on password-protected albums, or restricting network access to the instance. Neither measure is vendor-documented.
- Review access logs for unexpected requests to
/api/v2/Zip.

