# CVE-2026-39957: Lychee is a free, open-source photo-management tool. Prior to 7.5.4, a SQL operator-precedence bug in…

Source: https://junglewise.ai/threats/cve-2026-39957-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-5-4  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-09  
License: CC BY 4.0 with a link back

CVE-2026-39957 · Severity: medium · CVSS 4.3 · Published 2026-04-09

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.

Technologies: [LycheeOrg Lychee](https://junglewise.ai/threats/technologies/lychee). Vendors: [LycheeOrg](https://junglewise.ai/threats/vendors/lycheeorg).

## Quick answers

**Is CVE-2026-39957 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39957 being exploited in the wild.

**How severe is CVE-2026-39957?** Medium severity, with a CVSS score of 4.3, published 9 April 2026.

**Which products and versions are affected?** LycheeOrg Lychee. The advisory does not name versions.

**Is there a fix for CVE-2026-39957?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-39957?** Check whether you run LycheeOrg Lychee. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- LycheeOrg Lychee

## Related threats

- [Lychee OpenAPI documentation exposure in /docs/api](https://junglewise.ai/threats/cve-2026-77468-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-7-0)
- [Lychee PDF denial of service via oversized MediaBox](https://junglewise.ai/threats/cve-2026-77467-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-7-0)
- [Lychee path traversal in SecurePathController image serving](https://junglewise.ai/threats/cve-2026-62679-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-6-4)
- [Lychee album unlock brute-force attack](https://junglewise.ai/threats/cve-2026-61611-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-6-1)
- [Lychee authorization bypass in photo highlighting](https://junglewise.ai/threats/cve-2026-61610-lychee-is-a-free-open-source-photo-management-tool-prior-to-7-6-1)
