{"id":"CVE-2026-39957","state":"PUBLISHED","title":"Lychee has Broken Access Control in SharingController::listAll() leaks private album sharing metadata to unauthorized users","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.","publishedAt":"2026-04-09T16:14:56.133Z","updatedAt":"2026-04-09T19:08:20.555Z","severity":{"score":2.3,"label":"Low","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["LycheeOrg Lychee"],"affected":[{"vendor":"LycheeOrg","product":"Lychee","versions":[{"version":"< 7.5.4","status":"affected"}]}],"references":["https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25","https://github.com/LycheeOrg/Lychee/pull/4264","https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/39xxx/CVE-2026-39957.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-39957","state":"PUBLISHED","datePublished":"2026-04-09T16:14:56.133Z","dateUpdated":"2026-04-09T19:08:20.555Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-07T22:40:33.822Z"},"containers":{"cna":{"title":"Lychee has Broken Access Control in SharingController::listAll() leaks private album sharing metadata to unauthorized users","descriptions":[{"lang":"en","value":"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":[{"vendor":"LycheeOrg","product":"Lychee","versions":[{"version":"< 7.5.4","status":"affected"}]}],"references":[{"url":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25","name":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LycheeOrg/Lychee/pull/4264","name":"https://github.com/LycheeOrg/Lychee/pull/4264","tags":["x_refsource_MISC"]},{"url":"https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb","name":"https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcb","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-09T16:14:56.133Z"},"source":{"advisory":"GHSA-4v4c-g2jv-4g25","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T19:07:36.218379Z","id":"CVE-2026-39957","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T19:08:20.555Z"}}]}}}