CVE-2026-39957: Lychee is a free, open-source photo-management tool. Prior to 7.5.4, a SQL operator-precedence bug in…

CVE-2026-39957 · Severity: medium · CVSS 4.3 · Published 2026-04-09

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.

Technologies: LycheeOrg Lychee. Vendors: LycheeOrg.

Quick answers

Is CVE-2026-39957 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-39957 being exploited in the wild.
How severe is CVE-2026-39957?
Medium severity, with a CVSS score of 4.3, published 9 April 2026.
Which products and versions are affected?
LycheeOrg Lychee. The advisory does not name versions.
Is there a fix for CVE-2026-39957?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-39957?
Check whether you run LycheeOrg Lychee. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • LycheeOrg Lychee

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.