Ameeba Exploit Tracker

Tracking CVEs, exploits, and zero-days for defensive cybersecurity research.

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-50202: Path Traversal Vulnerability in Lychee Photo-Management Tool

Ameeba Chat Store screens
Download Ameeba Chat

Overview

Path traversal vulnerabilities, such as the one identified in Lychee versions 6.6.6 to 6.6.9, pose a significant threat to data security and integrity. This vulnerability allows an attacker to access local files, including sensitive data such as environment variables, nginx logs, other user’s uploaded images, and configuration secrets. As Lychee is a widely-used photo-management tool, this vulnerability potentially impacts a large number of users and systems, making it a critical issue that requires immediate attention.

Vulnerability Summary

CVE ID: CVE-2025-50202
Severity: High (CVSS: 7.5)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise and data leakage

Affected Products

Ameeba Chat Icon Escape the Surveillance Era

Most apps won’t tell you the truth.
They’re part of the problem.

Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.

Ameeba Chat gives you a way out.

  • • No phone number
  • • No email
  • • No personal info
  • • Anonymous aliases
  • • End-to-end encrypted

Chat without a trace.

Product | Affected Versions

Lychee | 6.6.6 to 6.6.9

How the Exploit Works

The vulnerability resides in the SecurePathController.php file of the Lychee application. The flaw allows an attacker to manipulate file paths to access directories that should be inaccessible. By sending crafted requests to the server, an attacker can traverse the directory tree to leak local files, including sensitive data.

Conceptual Example Code

Below is a conceptual example of how this vulnerability might be exploited. This is a hypothetical HTTP request, where “malicious_payload” is the manipulated file path.

GET /path/to/SecurePathController.php?path=../../../../etc/passwd HTTP/1.1
Host: target.example.com

Mitigation

Users of the Lychee photo-management tool are advised to immediately upgrade to version 6.6.10 or later, which contains a patch for this vulnerability. In the interim, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be used to mitigate the risk of exploitation.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat