Skip to content
OpenAdvisories
Low · 2.3 CVE-2026-33644 EUVD-2026-16374

Lychee has SSRF bypass via DNS rebinding — PhotoUrlRule only validates IP addresses, not hostnames resolving to internal IPs

Published Mar 26, 2026 · Updated Mar 30, 2026 · Assigned by GitHub_M

Description

Lychee is a free, open-source photo-management tool. Prior to version 7.5.2, the SSRF protection in `PhotoUrlRule.php` can be bypassed using DNS rebinding. The IP validation check (line 86-89) only activates when the hostname is an IP address. When a domain name is used, `filter_var($host, FILTER_VALIDATE_IP)` returns `false`, skipping the entire check. Version 7.5.2 patches the issue.

Affected products

VendorProductAffectedFixed
LycheeOrg Lychee < 7.5.2 —

References