CVE-2026-62679 Details
Description
Lychee is a free, open-source photo-management tool. Prior to 7.6.4, SecurePathController, which serves GET /image/{path}, concatenates the attacker-controlled path with the local storage root and performs a string-prefix check before canonicalizing dot segments. Under the supported non-default configuration with temporary_image_link_enabled enabled, temporary_image_link_when_logged_in disabled, and secure_image_link_enabled disabled, any authenticated user can submit encoded traversal segments that pass the prefix check and are later resolved by filesystem operations. This permits reading files available to the web process, including application configuration and other users' private images, and disclosed APP_KEY or database credentials can enable further compromise. This issue is fixed in version 7.6.4.
A path traversal vulnerability has been identified in Lychee versions prior to 7.6.4. The issue resides in the SecurePathController, which handles GET requests to /image/{path}. The vulnerability arises because the controller concatenates user-supplied paths with the local storage root, performing a prefix check before properly canonicalizing the path segments. This flaw allows authenticated users to exploit encoded traversal sequences that bypass the initial check, leading to unauthorized access to files readable by the web process. Such files may include sensitive application data, like configuration files or private images of other users. The vulnerability is particularly concerning as it can be exploited to access critical information, such as the application's APP_KEY or database credentials, potentially leading to further compromise.
Users should update to Lychee version 7.6.4 or later, and rotate the APP_KEY and database credentials. Instructions for updating can be found in the Lychee release notes.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LycheeOrg/Lychee/commit/f4553f6e0145ec4e02360c6121bd169e87b5d05f | [email protected] | Source CodeVendor |
| https://github.com/LycheeOrg/Lychee/pull/4465 | [email protected] | Source CodeVendor |
| https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.4 | [email protected] | Release NotesVendor |
| https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-j5ff-34x8-xxqg | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Lychee | <= 7.6.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion