- Home
- Vulnerabilities
- CVE-2026-39957
CVE-2026-39957
Lychee is a free, open-source photo-management tool. Prior to 7.5.4, a SQL operator-precedence bug in…
Low
25/100
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.
Affected products and versions
Lycheeorg (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Lychee | before 7.5.4 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/LycheeOrg/Lychee/commit/76a3f0513eca6458bf7f8c337c1ad65e59b22bcbPatch
- https://github.com/LycheeOrg/Lychee/pull/4264Issue Tracking, Patch
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-4v4c-g2jv-4g25Exploit, Patch, Vendor Advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-863 · Authentification / contrôle d'accès