CVE-2026-39957

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lycheeorg:lychee:*:*:*:*:*:*:*:*

History

23 Apr 2026, 15:05

Type Values Removed Values Added
References () https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb - () https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb - Patch
References () https://github.com/LycheeOrg/Lychee/pull/4264 - () https://github.com/LycheeOrg/Lychee/pull/4264 - Issue Tracking, Patch
References () https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25 - () https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25 - Exploit, Vendor Advisory, Patch
First Time Lycheeorg
Lycheeorg lychee
CPE cpe:2.3:a:lycheeorg:lychee:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3

09 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-09 17:16

Updated : 2026-04-23 15:05


NVD link : CVE-2026-39957

Mitre link : CVE-2026-39957

CVE.ORG link : CVE-2026-39957


JSON object : View

Products Affected

lycheeorg

  • lychee
CWE
CWE-863

Incorrect Authorization