{"id":"CVE-2026-39957","aliases":["CVE-2026-39957"],"related":[],"kind":"vulnerability","state":"published","title":"Lychee has Broken Access Control in SharingController::listAll() leaks private album sharing metadata to unauthorized users","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-09T16:14:56.133Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 7.5.4","status":"affected"}],"vendor":"LycheeOrg","product":"Lychee","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"7.5.4"}],"vendor":"lycheeorg","product":"lychee","cpe":"cpe:2.3:a:lycheeorg:lychee:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25","tags":["exploit","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LycheeOrg/Lychee/pull/4264","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-09T19:07:36.218Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39957","url":"https://www.cve.org/CVERecord?id=CVE-2026-39957","licence":"CVE Terms of Use","modified":"2026-04-09T19:08:20.555Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39957","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39957","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.385Z","epss":{"score":0.00203,"percentile":0.10793,"date":"2026-12-01T12:00:22.000Z"}}