CVE-2025-53018

Lychee is a free, open-source photo-management tool. Prior to version 6.6.13, a critical Server-Side Request Forgery (SSRF) vulnerability exists in the `/api/v2/Photo::fromUrl` endpoint. This flaw lets an attacker instruct the application’s backend to make HTTP requests to any URL they choose. Consequently, internal network resources—such as localhost services or cloud-provider metadata endpoints—become reachable. The endpoint takes a URL from the user and calls it server-side via fopen() without any safeguards. There is no IP address validation, nor are there any allow-list, timeout, or size restrictions. Because of this, attackers can point the application at internal targets. Using this flaw, an attacker can perform internal port scans or retrieve sensitive cloud metadata. Version 6.6.13 contains a patch for the issue.
Configurations

No configuration.

History

30 Jun 2025, 18:38

Type Values Removed Values Added
Summary
  • (es) Lychee es una herramienta gratuita y de código abierto para la gestión de fotos. Antes de la versión 6.6.13, existía una vulnerabilidad crítica de Server-Side Request Forgery (SSRF) en el endpoint `/api/v2/Photo::fromUrl`. Esta falla permite a un atacante indicar al backend de la aplicación que realice solicitudes HTTP a cualquier URL. En consecuencia, se puede acceder a recursos internos de la red, como servicios de host local o endpoints de metadatos de proveedores de la nube. El endpoint toma una URL del usuario y la llama desde el servidor mediante fopen() sin ninguna protección. No hay validación de dirección IP, ni restricciones de lista de permitidos, tiempo de espera ni tamaño. Gracias a esto, los atacantes pueden apuntar la aplicación a objetivos internos. Con esta falla, un atacante puede realizar escaneos de puertos internos o recuperar metadatos confidenciales de la nube. La versión 6.6.13 incluye un parche para este problema.

27 Jun 2025, 14:15

Type Values Removed Values Added
References () https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-cpgw-wgf3-xc6v - () https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-cpgw-wgf3-xc6v -

27 Jun 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-27 13:15

Updated : 2025-06-30 18:38


NVD link : CVE-2025-53018

Mitre link : CVE-2025-53018

CVE.ORG link : CVE-2025-53018


JSON object : View

Products Affected

No product.

CWE
CWE-918

Server-Side Request Forgery (SSRF)