CVE-2026-39957: CWE-863: Incorrect Authorization in LycheeOrg Lychee
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.
AI Analysis
Technical Summary
LycheeOrg Lychee, an open-source photo management tool, suffers from an authorization bypass vulnerability in versions before 7.5.4. The root cause is a SQL operator-precedence bug in the SharingController::listAll() method, where the orWhereNotNull('user_group_id') clause bypasses the ownership filter applied by the when() block. This allows authenticated non-admin users with upload permissions and at least one owned album to retrieve sharing permissions for all user groups, including those related to private albums owned by other users. The vulnerability is classified under CWE-863 and has a CVSS 4.0 score of 2.3, indicating low severity. The issue is resolved in Lychee version 7.5.4.
Potential Impact
An attacker who is an authenticated non-admin user with upload permissions and owns at least one album can access sharing permissions for all user groups across the Lychee instance. This includes private albums owned by other users, potentially exposing sensitive sharing configurations. The impact is limited to information disclosure of sharing permissions and does not include privilege escalation or direct access to album contents. The vulnerability has a low severity rating.
Mitigation Recommendations
This vulnerability is fixed in Lychee version 7.5.4. Users should upgrade to version 7.5.4 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Since this is not a cloud service, remediation depends on applying the update. Patch status is confirmed by the vendor advisory stating the fix is included in version 7.5.4.
CVE-2026-39957: CWE-863: Incorrect Authorization in LycheeOrg Lychee
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
LycheeOrg Lychee, an open-source photo management tool, suffers from an authorization bypass vulnerability in versions before 7.5.4. The root cause is a SQL operator-precedence bug in the SharingController::listAll() method, where the orWhereNotNull('user_group_id') clause bypasses the ownership filter applied by the when() block. This allows authenticated non-admin users with upload permissions and at least one owned album to retrieve sharing permissions for all user groups, including those related to private albums owned by other users. The vulnerability is classified under CWE-863 and has a CVSS 4.0 score of 2.3, indicating low severity. The issue is resolved in Lychee version 7.5.4.
Potential Impact
An attacker who is an authenticated non-admin user with upload permissions and owns at least one album can access sharing permissions for all user groups across the Lychee instance. This includes private albums owned by other users, potentially exposing sensitive sharing configurations. The impact is limited to information disclosure of sharing permissions and does not include privilege escalation or direct access to album contents. The vulnerability has a low severity rating.
Mitigation Recommendations
This vulnerability is fixed in Lychee version 7.5.4. Users should upgrade to version 7.5.4 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Since this is not a cloud service, remediation depends on applying the update. Patch status is confirmed by the vendor advisory stating the fix is included in version 7.5.4.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T22:40:33.822Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7d5661cc7ad14daeeafbc
Added to database: 4/9/2026, 4:35:50 PM
Last enriched: 4/9/2026, 4:51:06 PM
Last updated: 5/24/2026, 9:41:08 PM
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.