PT-2025-27148 · Lychee · Lychee

Baranteyin1

·

Published

2025-06-27

·

Updated

2025-06-27

·

CVE-2025-53018

CVSS v3.1

3.0

Low

VectorAV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Lychee versions prior to 6.6.13
Description: A critical Server-Side Request Forgery (SSRF) issue exists in the "/api/v2/Photo::fromUrl" endpoint, allowing an attacker to instruct the application's backend to make HTTP requests to any URL they choose. This enables access to internal network resources, such as localhost services or cloud-provider metadata endpoints. The endpoint takes a URL from the user and calls it server-side via fopen() without any safeguards, including IP address validation, allow-list, timeout, or size restrictions. Attackers can use this flaw to perform internal port scans or retrieve sensitive cloud metadata.
Recommendations: For versions prior to 6.6.13, update to version 6.6.13 to resolve the issue. As a temporary workaround, consider restricting access to the "/api/v2/Photo::fromUrl" endpoint until the patch is applied. Avoid using the URL variable in the affected API endpoint until the issue is resolved.

Exploit

Fix

SSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-53018
GHSA-CPGW-WGF3-XC6V

Affected Products

Lychee