CVE-2026-39957

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

MEDIUM
4.3
CVSS Score
Published: April 9, 2026 at 04:14 PM UTC
Updated: October 26, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLychee

Using Lychee by LycheeOrg?

Get instant alerts when new vulnerabilities affect Lychee - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 0.2%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 7.5.4
Affected range stops below 7.5.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_CONFIRMExploitPatchVendor Advisory
Source: cverecord
https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/LycheeOrg/Lychee/pull/4264

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-863

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card