CVE Catalog

CVE-2026-39957

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.21%

11th percentile - higher than 11% of all known CVEs

Summary

In Lychee before 7.5.4, a SQL operator-precedence bug in SharingController::listAll() causes the orWhereNotNull('user_group_id') clause to bypass the ownership filter. An authenticated non-admin user with upload permission and at least one album can retrieve all user-group-based sharing permissions, including private albums owned by others.

Risk Assessment

This may leak information about private albums and sharing permissions across the instance, breaching user confidentiality.

Recommendation

Update Lychee to version 7.5.4 or later. Until then, restrict upload permissions and review access logs.

Other vulnerabilities in Lychee

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS