CVE-2026-39957 LOW

CVE-2026-39957: Lychee has Broken Access Control in SharingController::listAll() leaks private album sharing metadata to unauthorized users

Vendor Lycheeorg
Product Lychee
Weakness CWE-863 · Incorrect authorization
Published April 9, 2026
Last update April 9, 2026

CVSS base score

2.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

What the vulnerability does

01Description

Lychee is a free, open-source photo-management tool. Prior to 7.5.4, a SQL operator-precedence bug in SharingController::listAll() causes the orWhereNotNull('user_group_id') clause to escape the ownership filter applied by the when() block. Any authenticated non-admin user with upload permission who owns at least one album can retrieve all user-group-based sharing permissions across the entire instance, including private albums owned by other users. This vulnerability is fixed in 7.5.4.

Key dates

02Disclosure timeline

April 9, 2026 CVE published
April 9, 2026 Record updated