CVE-2025-53018: Lychee has Server-Side Request Forgery (SSRF) in Photo::fromUrl API via unvalidated remote image URLs

Published Jun 27, 2025
·
Updated

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.

Affected Software

1 affected component
Lychee Lychee<6.6.13

Event History

Jun 27, 2025
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-53018?

CVE-2025-53018 is classified as a critical vulnerability due to its Server-Side Request Forgery (SSRF) nature.

2

How do I fix CVE-2025-53018?

To fix CVE-2025-53018, upgrade Lychee to version 6.6.13 or later.

3

What is the impact of CVE-2025-53018?

The impact of CVE-2025-53018 allows attackers to make unauthorized HTTP requests through the application’s backend.

4

Which versions of Lychee are affected by CVE-2025-53018?

Versions of Lychee prior to 6.6.13 are affected by CVE-2025-53018.

5

What kind of attack is associated with CVE-2025-53018?

CVE-2025-53018 is associated with Server-Side Request Forgery (SSRF) attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203