Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33644

CVE-2026-33644: Lychee Photo Management SSRF Vulnerability

CVE-2026-33644 is an SSRF vulnerability in Lychee photo-management tool caused by DNS rebinding bypass. The flaw allows attackers to bypass IP validation checks. This article covers technical details, affected versions, and mitigation.

Published: March 26, 2026

CVE-2026-33644 Overview

CVE-2026-33644 is a Server-Side Request Forgery (SSRF) protection bypass vulnerability in Lychee, the free, open-source photo-management tool. The vulnerability exists in the PhotoUrlRule.php file where the SSRF protection mechanism can be circumvented using DNS rebinding techniques. The IP validation check implemented at lines 86-89 only activates when the hostname is provided as an IP address directly. When a domain name is used instead, the filter_var($host, FILTER_VALIDATE_IP) function returns false, causing the entire security check to be skipped entirely.

Critical Impact

Attackers with authenticated access can bypass SSRF protections using DNS rebinding, potentially allowing access to internal network resources and services that should be protected from external requests.

Affected Products

  • Lychee Photo Management prior to version 7.5.2

Discovery Timeline

  • 2026-03-26 - CVE CVE-2026-33644 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33644

Vulnerability Analysis

This vulnerability is classified under CWE-918 (Server-Side Request Forgery). The flaw exists in how Lychee validates URLs submitted for photo imports. The application attempts to prevent SSRF attacks by checking if a provided URL points to internal/private IP addresses. However, this protection is fundamentally flawed because it only performs the IP range check when the hostname portion of the URL is already in IP address format.

When an attacker supplies a URL with a domain name (e.g., http://attacker-controlled-domain.com/image.jpg), the filter_var($host, FILTER_VALIDATE_IP) call returns false since the hostname is not a valid IP address format. This causes the subsequent IP range validation logic to be completely bypassed. An attacker can then leverage DNS rebinding—a technique where a domain initially resolves to a safe external IP, passes any initial checks, but then resolves to an internal IP (like 127.0.0.1 or 192.168.x.x) when the actual request is made.

Root Cause

The root cause is an incomplete input validation implementation in PhotoUrlRule.php. The developers assumed that checking IP addresses against blocklisted ranges would be sufficient SSRF protection. However, they failed to account for the scenario where hostnames are provided as domain names rather than IP addresses. The conditional logic structure means that domain-based URLs completely skip the IP validation path, leaving the application vulnerable to DNS rebinding attacks where the DNS resolution occurs after the validation check.

Attack Vector

The attack vector is network-based and requires authentication (low privileges). An attacker can exploit this vulnerability by:

  1. Setting up a DNS server that responds with alternating IP addresses (DNS rebinding)
  2. Creating a malicious URL pointing to the attacker-controlled domain
  3. Submitting this URL through Lychee's photo import functionality
  4. The domain initially resolves to an external IP, bypassing validation
  5. During the actual fetch request, DNS resolves to an internal IP address
  6. Lychee fetches resources from the internal network on behalf of the attacker

The following patch was implemented to address the DNS rebinding vulnerability:

php
 
 use App\Repositories\ConfigManager;
 use Illuminate\Contracts\Validation\ValidationRule;
+use Safe\Exceptions\NetworkException;
 use Safe\Exceptions\UrlException;
+use function Safe\inet_pton;
 use function Safe\parse_url;
 
 final class PhotoUrlRule implements ValidationRule
 {
+	/**
+	 * @param ConfigManager $config_manager
+	 * @param \Closure      $dns_get_record defaulted to dns_get_record(string $hostname, int $type = ?, array &$authoritative_name_servers = ?, array &$additional_records = ?, bool $raw = ?): array|false
+	 *
+	 * @return void
+	 */
 	public function __construct(
 		private ConfigManager $config_manager,
+		private \Closure|null $dns_get_record = null,
 	) {
+		$this->dns_get_record = $dns_get_record ?? \Closure::fromCallable('dns_get_record');
 	}
 
 	/**

Source: GitHub Commit Update

Detection Methods for CVE-2026-33644

Indicators of Compromise

  • Unusual outbound requests from the Lychee server to internal IP ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
  • Photo import requests using suspicious or recently registered domain names
  • DNS query patterns showing rapid TTL changes or alternating IP resolutions for the same domain
  • Web server logs showing photo URL imports from domains that resolve to private IP addresses

Detection Strategies

  • Monitor DNS resolution logs for domains that resolve to both external and internal IP addresses in short time windows
  • Implement application-level logging for all photo import URL requests and their resolved IP addresses
  • Deploy network monitoring to detect outbound HTTP requests from the Lychee server to internal services
  • Review Lychee application logs for failed or unusual photo import attempts

Monitoring Recommendations

  • Enable verbose logging in Lychee to capture all URL import requests with full headers and resolved addresses
  • Configure network intrusion detection systems to alert on internal IP access from web application servers
  • Monitor for DNS rebinding patterns in DNS server logs—look for domains with very low TTL values
  • Establish baseline network behavior for the Lychee server and alert on deviations

How to Mitigate CVE-2026-33644

Immediate Actions Required

  • Upgrade Lychee to version 7.5.2 or later immediately
  • If immediate upgrade is not possible, disable the photo URL import functionality temporarily
  • Review server logs for any evidence of exploitation attempts
  • Implement network-level restrictions to prevent the Lychee server from accessing internal services

Patch Information

The vulnerability has been patched in Lychee version 7.5.2. The fix introduces proper DNS resolution validation by adding a dns_get_record closure that resolves domain names to IP addresses before performing the IP range validation check. This ensures that even when domain names are provided, the resolved IP addresses are validated against the blocklist before any HTTP requests are made.

For patch details, see the GitHub Commit Update and the GitHub Security Advisory GHSA-5245-4p8c-jwff.

Workarounds

  • Disable the external URL photo import feature if not required for operations
  • Implement firewall rules to restrict outbound connections from the Lychee server to only necessary external destinations
  • Deploy a web application firewall (WAF) with SSRF protection rules to filter suspicious URL patterns
  • Use network segmentation to isolate the Lychee server from sensitive internal resources
bash
# Example: Restrict outbound connections from Lychee server using iptables
# Block access to private IP ranges from the web server
iptables -A OUTPUT -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -j DROP
iptables -A OUTPUT -d 127.0.0.0/8 -j DROP
iptables -A OUTPUT -d 169.254.0.0/16 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechLychee

  • SeverityLOW

  • CVSS Score2.3

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-5245-4p8c-jwff
  • Related CVEs
  • CVE-2026-33537: Lychee Photo Management SSRF Vulnerability

  • CVE-2026-39957: Lychee Auth Bypass Vulnerability

  • CVE-2026-33738: Lychee Photo Management XSS Vulnerability

  • CVE-2026-22784: Lychee Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English