---
id: CVE-2026-62679
title: 'Lychee is a free, open-source photo-management tool'
summary: >-
  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 ca…
severity: high
cvss: 8.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H'
cwe:
  - CWE-22
vendor: LycheeOrg
product: Lychee
affected:
  - Lychee < 7.6.4
published: '2026-10-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T17:17:26.820'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62679'
references:
  - url: >-
      https://github.com/LycheeOrg/Lychee/commit/f4553f6e0145ec4e02360c6121bd169e87b5d05f
    label: security-advisories@github.com
  - url: 'https://github.com/LycheeOrg/Lychee/pull/4465'
    label: security-advisories@github.com
  - url: 'https://github.com/LycheeOrg/Lychee/releases/tag/v7.6.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-j5ff-34x8-xxqg
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-10-15T17:18:20.100Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
