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-2025-50578

CVE-2025-50578: Docker-heimdall Header Injection Vulnerability

CVE-2025-50578 is a header injection flaw in LinuxServer Docker-heimdall that enables host header injection and open redirect attacks through manipulated HTTP headers. This article covers technical details, impact, and mitigations.

Published: March 18, 2026

CVE-2025-50578 Overview

LinuxServer.io Heimdall 2.6.3-ls307 contains a critical vulnerability in how it handles user-supplied HTTP headers, specifically X-Forwarded-Host and Referer. An unauthenticated remote attacker can manipulate these headers to perform Host Header Injection and Open Redirect attacks. This allows the loading of external resources from attacker-controlled domains and unintended redirection of users, potentially enabling phishing, UI redress, and session theft. The vulnerability exists due to insufficient validation and trust of untrusted input, affecting the integrity and trustworthiness of the application.

Critical Impact

Unauthenticated attackers can exploit this vulnerability remotely to hijack user sessions, redirect users to malicious sites for phishing attacks, and load external resources from attacker-controlled domains, compromising the integrity of the application and user trust.

Affected Products

  • LinuxServer docker-heimdall version 2.6.3-ls307

Discovery Timeline

  • 2025-07-30 - CVE-2025-50578 published to NVD
  • 2025-08-25 - Last updated in NVD database

Technical Details for CVE-2025-50578

Vulnerability Analysis

This vulnerability is classified as CWE-20 (Improper Input Validation), where the Heimdall application fails to properly validate and sanitize user-controlled HTTP headers before using them in security-sensitive operations. The X-Forwarded-Host and Referer headers are commonly used in web applications for routing, redirection logic, and resource loading decisions. When these headers are trusted without validation, attackers can inject malicious values that alter the application's behavior.

The attack requires no authentication and can be executed remotely over the network. An attacker can craft malicious HTTP requests with spoofed header values to manipulate how the application constructs URLs, loads resources, or redirects users. This can lead to multiple attack scenarios including phishing campaigns where users are redirected to attacker-controlled lookalike sites, session theft through manipulated authentication flows, and UI redress attacks where external malicious content is loaded within the legitimate application context.

Root Cause

The root cause of this vulnerability lies in the application's improper handling of the X-Forwarded-Host and Referer HTTP headers. These headers are user-controllable and should never be trusted for security-critical operations without proper validation. The Heimdall application uses these header values directly in URL construction and redirection logic, assuming they contain legitimate values from trusted proxies or the original request. This design flaw allows attackers to inject arbitrary hostnames and URLs that the application then uses to redirect users or load external resources.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends HTTP requests to the vulnerable Heimdall instance with manipulated X-Forwarded-Host or Referer headers containing attacker-controlled domain values. The application processes these headers and incorporates the malicious values into URL generation, causing two primary attack scenarios:

Host Header Injection: By manipulating the X-Forwarded-Host header, attackers can cause the application to generate URLs pointing to malicious domains. This can result in external resource loading from attacker-controlled servers, potentially injecting malicious scripts or content.

Open Redirect: By crafting specific header values, attackers can redirect users to arbitrary external URLs. This is particularly dangerous in authentication flows where users may be redirected to phishing sites that mimic legitimate login pages, enabling credential theft.

For detailed technical analysis and exploitation examples, refer to the Medium CVE-2025-50578 Exploit Analysis and GitHub Issue #1451.

Detection Methods for CVE-2025-50578

Indicators of Compromise

  • Unusual or suspicious values in X-Forwarded-Host headers that don't match expected proxy configurations
  • Unexpected Referer header values containing external domains in request logs
  • User reports of being redirected to unfamiliar or suspicious websites after accessing Heimdall
  • Network traffic showing connections to unexpected external domains originating from the Heimdall server

Detection Strategies

  • Monitor web server access logs for requests containing suspicious X-Forwarded-Host header values that differ from legitimate proxy addresses
  • Implement web application firewall (WAF) rules to detect and block requests with anomalous or unexpected host header values
  • Deploy network monitoring to identify outbound connections to unknown domains from the Heimdall application server
  • Configure SIEM alerts for patterns consistent with open redirect exploitation attempts

Monitoring Recommendations

  • Enable detailed HTTP header logging on reverse proxies and web servers fronting Heimdall instances
  • Implement alerting on sudden increases in redirect responses or unusual redirect destination patterns
  • Monitor for phishing reports that reference your Heimdall deployment as a redirect source
  • Review web application logs regularly for header injection attempt patterns

How to Mitigate CVE-2025-50578

Immediate Actions Required

  • Update LinuxServer Heimdall to the latest available version that addresses this vulnerability
  • Implement strict allowlist validation for X-Forwarded-Host header values at the reverse proxy or load balancer level
  • Configure your web server or reverse proxy to override or strip untrusted X-Forwarded-Host headers from incoming requests
  • Consider restricting network access to Heimdall deployments to trusted internal networks only

Patch Information

Organizations should monitor the GitHub Heimdall Project for official security updates and patched releases. Track the issue at GitHub Issue #1451 for the latest remediation guidance from the maintainers.

Workarounds

  • Deploy a reverse proxy (such as nginx or Apache) in front of Heimdall and configure it to set explicit Host and X-Forwarded-Host headers, ignoring client-supplied values
  • Implement network-level access controls to limit exposure of the Heimdall instance to trusted networks only
  • Use a Web Application Firewall (WAF) with rules to detect and block header injection attempts
  • Educate users about the risks of clicking links that may lead through the Heimdall application to external sites
bash
# Example nginx configuration to mitigate host header injection
# Place this in your nginx server block for Heimdall

# Override X-Forwarded-Host with the actual host
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $host;

# Optionally restrict to specific trusted hosts
# if ($host !~* ^(heimdall\.yourdomain\.com)$ ) {
#     return 444;
# }

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinuxserver Docker Heimdall

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Heimdall Project

  • GitHub Issue #1451

  • Medium CVE-2025-50578 Exploit Analysis
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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