Skip to main content
← All vulnerabilities
CVE-2026-39957

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • LycheeOrg Lychee

    fixed in 7.5.4

References 3

GitHub · LycheeOrg/Lychee