Critical severity · published Dec 28, 2023
CVE-2023-52082
Lychee is a free photo-management tool
9.8
CVSS
0.5%
EPSS
No
On KEV
Description
Lychee is a free photo-management tool. Prior to 5.0.2, Lychee is vulnerable to an SQL injection on any binding when using mysql/mariadb. This injection is only active for users with the `.env` settings set to DB_LOG_SQL=true and DB_LOG_SQL_EXPLAIN=true. The defaults settings of Lychee are safe. The patch is provided on version 5.0.2. To work around this issue, disable SQL EXPLAIN logging.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LY
Lychee · Lycheeorg
4.9.3 before 5.0.2 · source: NVD
Affected product
LY
Lychee
Lycheeorg
More from Lychee
8.9
CVE-2026-62679
Lychee: Path traversal in `SecurePathController` allows authenticated arbitrary file read
8.3
CVE-2026-77466
Lychee: Webshop payment bypass via unrestricted "Dummy" gateway selection
8.3
CVE-2026-77470
Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request
8.3
CVE-2024-25808
Cross-site Request Forgery (CSRF) vulnerability in Lychee version 3.1.6, allows remote attackers to execute arbitrary code via the create new album function
8.2
CVE-2026-61838
Lychee: Album password bypass in ZIP downloads