CVE-2026-39957

Medium

Description

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductLychee
PublishedApr 9, 2026
First seenApr 9, 2026

How to fix

Update
  • lycheeorg lychee7.5.4 or later

Affected products

ProductAffected versionsFixed in
lycheeorg lycheev < 7.5.47.5.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.