Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lycheeorg | Lychee | < 7.5.4 |
Related Weaknesses (CWE)
References
- https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22Patch
- https://github.com/LycheeOrg/Lychee/pull/4264Issue TrackingPatch
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25ExploitVendor AdvisoryPatch
FAQ
What is CVE-2026-39957?
CVE-2026-39957 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 owner...
How severe is CVE-2026-39957?
CVE-2026-39957 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-39957?
Check the references section above for vendor advisories and patch information. Affected products include: Lycheeorg Lychee.