{"id":"CVE-2023-52082","aliases":["CVE-2023-52082"],"related":[],"kind":"vulnerability","state":"published","title":"Lychee is vulnerable to an SQL Injection in explain DB queries.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Lychee es una herramienta gratuita de gestión de fotografías. Antes de 5.0.2, Lychee es vulnerable a una inyección SQL en cualquier enlace cuando se usa mysql/mariadb. Esta inyección solo está activa para usuarios con la configuración `.env` configurada en DB_LOG_SQL=true y DB_LOG_SQL_EXPLAIN=true. La configuración predeterminada de Lychee es segura. El parche se proporciona en la versión 5.0.2. Para solucionar este problema, deshabilite el registro SQL EXPLAIN.","source":"nvd"}],"published":"2023-12-28T15:46:24.291Z","modified":"2026-06-17T06:42:02.270Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 5.0.2","status":"affected"}],"vendor":"LycheeOrg","product":"Lychee","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9.3","fixed":"5.0.2"}],"vendor":"lycheeorg","product":"lychee","cpe":"cpe:2.3:a:lycheeorg:lychee:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-rjwv-5j3m-p5x4","tags":["vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LycheeOrg/Lychee/commit/33354a2ce7cf700cc4ee537b7b8b94dfc1e84ad4","tags":["patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-27T15:32:03.975Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52082","url":"https://www.cve.org/CVERecord?id=CVE-2023-52082","licence":"CVE Terms of Use","modified":"2024-11-27T15:32:17.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52082","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52082","licence":"Public domain","modified":"2026-06-17T06:42:02.270Z"}],"updatedAt":"2026-11-25T22:58:31.709Z","epss":{"score":0.00472,"percentile":0.42418,"date":"2026-12-01T12:00:22.000Z"}}