CVE-2026-39957
JSON

2.3low

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

Severity
2.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
LycheeOrg Lychee< 7.5.4, before 7.5.4CVE List, NVD

All scores

GitHub_M2.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Lychee es una herramienta de gestión de fotos gratuita y de código abierto. Antes de la 7.5.4, un error de precedencia de operadores SQL en SharingController::listAll() provoca que la cláusula orWhereNotNull(’user_group_id’) escape el filtro de propiedad aplicado por el bloque when(). Cualquier usuario autenticado no administrador con permiso de subida que posea al menos un álbum puede recuperar todos los permisos de compartición basados en grupos de usuarios en toda la instancia, incluyendo álbumes privados propiedad de otros usuarios. Esta vulnerabilidad está corregida en la 7.5.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-39957 changed 2026-04-09CVE Terms of Use
NVDCVE-2026-39957 changed 2026-10-26Public domain