CVE-2023-52082 - CVE House
Back to Database
Status published High CVE-2023-52082

Lychee is vulnerable to an SQL Injection in explain DB queries.

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-52082

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Lychee
Vulnerable Versions:
< 5.0.2

Timeline

Official Publish: December 28th, 2023
Last Modified: November 27th, 2024
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses (CWE)