CVE Catalog

CVE-2026-62679

HighCVSS 8.9
Published: Translated: NVD NIST

Summary

In Lychee before 7.6.4, SecurePathController serving GET /image/{path} concatenates the attacker-controlled path with the local storage root and performs a string-prefix check before canonicalizing dot segments. Under a specific non-default configuration, any authenticated user can read files outside the intended directory, including application configuration and other users' private images.

Risk Assessment

An attacker could access sensitive files such as APP_KEY or database credentials, potentially leading to further compromise.

Recommendation

Update Lychee to version 7.6.4, which fixes this vulnerability.

Other vulnerabilities in Lychee

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS