# CVE-2025-50202: Lychee Path Traversal Vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-06-18T04:13:01.405Z
- Modified: 2026-06-17T09:34:58.223Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Lychee is a free photo-management tool. In versions starting from 6.6.6 to before 6.6.10, an attacker can leak local files including environment variables, nginx logs, other user's uploaded images, and configuration secrets due to a path traversal exploit in SecurePathController.php. This issue has been patched in version 6.6.10.

(As written by CVE List.)

## Affected

- LycheeOrg Lychee: >= 6.6.6, < 6.6.10

## References

- <https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-6rj9-gm78-vhf9>
- <https://github.com/LycheeOrg/Lychee/commit/ae7270b7b47e4a284ea1f69d260e52d592711072>
- <https://github.com/LycheeOrg/Lychee/blob/0709f5d984d4df77fc5e23a29a0231437e684e99/app/Http/Controllers/SecurePathController.php#L61>

## Sources

- CVE List: [CVE-2025-50202](https://www.cve.org/CVERecord?id=CVE-2025-50202), CVE Terms of Use, modified 2025-06-18
- NVD: [CVE-2025-50202](https://nvd.nist.gov/vuln/detail/CVE-2025-50202), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-50202 · Whole record: https://cve.day/CVE-2025-50202.json · Rebuilt by cve.day 2026-11-25T22:58:59.330Z
