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

- Severity: Low 3.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-27T13:00:14.086Z
- Modified: 2026-06-17T09:37:29.007Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- LycheeOrg Lychee: < 6.6.13

## References

- <https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-cpgw-wgf3-xc6v> (exploit)
- <https://github.com/LycheeOrg/Lychee/commit/9dc162eefe56ce185ac1d59da42ee557933d914d>

## Sources

- CVE List: [CVE-2025-53018](https://www.cve.org/CVERecord?id=CVE-2025-53018), CVE Terms of Use, modified 2025-06-27
- NVD: [CVE-2025-53018](https://nvd.nist.gov/vuln/detail/CVE-2025-53018), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-53018 · Whole record: https://cve.day/CVE-2025-53018.json · Rebuilt by cve.day 2026-11-25T22:59:00.291Z
