CVE-2025-50202
Lychee is a free photo-management tool. In versions starting from …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LycheeOrg/Lychee/blob/0709f5d984d4df77fc5e23a29a0231437e684e99/app/Http/Control
- github.com/LycheeOrg/Lychee/commit/ae7270b7b47e4a284ea1f69d260e52d592711072
- github.com/LycheeOrg/Lychee/security/advisories/GHSA-6rj9-gm78-vhf9
- nvd.nist.gov/vuln/detail/CVE-2025-50202
- cve.org/CVERecord?id=CVE-2025-50202
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.