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

Published Apr 9, 2026
·
Updated

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('usergroupid') 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.

Affected Software

2 affected components
Lychee Lychee<7.5.4
Lycheeorg Lychee<7.5.4

Event History

Apr 9, 2026
CVE Published
via MITRE·04:14 PM
Data Sourced
via MITRE·04:14 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-39957?

CVE-2026-39957 has a medium severity rating due to its potential for leaking private album sharing metadata.

2

How do I fix CVE-2026-39957?

To fix CVE-2026-39957, upgrade Lychee to version 7.5.4 or later.

3

What versions of Lychee are affected by CVE-2026-39957?

Lychee versions prior to 7.5.4 are affected by CVE-2026-39957.

4

What kind of vulnerability is CVE-2026-39957?

CVE-2026-39957 is categorized as a broken access control vulnerability.

5

What impact does CVE-2026-39957 have on users?

CVE-2026-39957 allows unauthorized users to access private album sharing metadata.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203