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-2024-52806

CVE-2024-52806: SimpleSAMLphp SAML2 XXE Vulnerability

CVE-2024-52806 is an XML External Entity (XXE) vulnerability in SimpleSAMLphp SAML2 library that allows attackers to exploit untrusted XML documents. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-52806 Overview

CVE-2024-52806 is an XML External Entity (XXE) injection vulnerability affecting the SimpleSAMLphp SAML2 library, a PHP library that provides SAML2 authentication functionality. When the library processes an untrusted XML document, such as a SAMLResponse, attackers can exploit improper XML parsing to induce XXE attacks. This can lead to information disclosure, server-side request forgery (SSRF), and potential denial of service.

Critical Impact

Unauthenticated remote attackers can exploit this XXE vulnerability to read sensitive files, perform SSRF attacks against internal services, or cause service disruption in applications using the affected SimpleSAMLphp SAML2 library versions.

Affected Products

  • SimpleSAMLphp SAML2 library versions prior to 4.6.14
  • SimpleSAMLphp SAML2 library alpha versions prior to 5.0.0-alpha.18
  • Applications implementing SAML2 authentication using vulnerable library versions

Discovery Timeline

  • December 2, 2024 - CVE-2024-52806 published to NVD
  • December 2, 2024 - Last updated in NVD database

Technical Details for CVE-2024-52806

Vulnerability Analysis

This vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) exists in the SimpleSAMLphp SAML2 library's XML document processing functionality. The library fails to properly disable external entity resolution when parsing XML input, particularly when handling SAML responses during authentication flows.

XXE vulnerabilities in SAML libraries are particularly concerning because SAML authentication inherently involves processing XML documents from external sources (Identity Providers). An attacker who can inject a malicious SAMLResponse or intercept authentication flows can leverage this weakness to access sensitive system files, probe internal network resources, or disrupt authentication services.

The vulnerability allows exploitation across network boundaries without requiring authentication, and successful exploitation can impact resources beyond the vulnerable component itself.

Root Cause

The root cause of this vulnerability is the failure to properly configure the XML parser to disable external entity processing. When the SimpleSAMLphp SAML2 library loads XML documents, it does not adequately restrict the resolution of external entities, allowing attackers to reference external resources or local files within crafted XML payloads. This is a common oversight in XML processing implementations where developers fail to explicitly disable features like LIBXML_NOENT or configure libxml_disable_entity_loader() appropriately.

Attack Vector

The attack vector for CVE-2024-52806 involves crafting a malicious XML document containing external entity declarations and injecting it into the SAML authentication flow. An attacker can exploit this vulnerability by:

  1. Intercepting or manipulating a SAMLResponse during an authentication exchange
  2. Injecting an XML document with malicious external entity references pointing to sensitive local files (e.g., /etc/passwd) or internal network resources
  3. Triggering the vulnerable XML parsing functionality to process the malicious payload
  4. Exfiltrating the retrieved data through the SAML response or out-of-band channels

The attack can be conducted remotely without authentication, making it accessible to unauthenticated network attackers targeting applications that implement SAML2 authentication using the vulnerable library.

Detection Methods for CVE-2024-52806

Indicators of Compromise

  • Unusual SAML responses containing XML DOCTYPE declarations with ENTITY definitions
  • Log entries showing attempts to access sensitive local files (e.g., /etc/passwd, /etc/shadow) through the authentication service
  • Outbound network connections from the SAML processing component to unexpected external hosts
  • Error messages related to XML parsing failures referencing external entity resolution

Detection Strategies

  • Monitor SAML authentication logs for malformed or unusually large SAMLResponse payloads
  • Implement web application firewall (WAF) rules to detect XXE patterns in XML payloads
  • Deploy network-based intrusion detection systems (IDS) to identify XXE exploitation attempts
  • Review application logs for XML parsing errors or unexpected file access attempts

Monitoring Recommendations

  • Enable verbose logging for SAML authentication components to capture detailed request information
  • Implement file integrity monitoring on sensitive configuration files that may be targeted by XXE attacks
  • Monitor outbound network traffic from SAML processing servers for anomalous connections
  • Set up alerts for authentication service errors related to XML parsing

How to Mitigate CVE-2024-52806

Immediate Actions Required

  • Update SimpleSAMLphp SAML2 library to version 4.6.14 or later immediately
  • For users on the alpha branch, upgrade to version 5.0.0-alpha.18 or later
  • Audit all applications using SimpleSAMLphp SAML2 library to identify vulnerable instances
  • Review access logs for any indicators of prior exploitation attempts

Patch Information

The vulnerability has been fixed in SimpleSAMLphp SAML2 library versions 4.6.14 and 5.0.0-alpha.18. The security patch properly disables external entity processing when loading XML documents. The fix can be reviewed in the GitHub commit reference. Additional details are available in the GitHub Security Advisory.

Workarounds

  • If immediate patching is not possible, implement network-level controls to restrict access to SAML endpoints
  • Configure web application firewalls to filter XML payloads containing DOCTYPE or ENTITY declarations
  • Isolate SAML processing components from sensitive internal resources to limit the impact of potential exploitation
  • Consider implementing additional input validation at the application layer to reject suspicious XML content
bash
# Composer update command to patch the vulnerability
composer require simplesamlphp/saml2:^4.6.14

# For alpha branch users
composer require simplesamlphp/saml2:^5.0.0-alpha.18

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechSimplsamlphp

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-611
  • Technical References
  • GitHub Commit Reference

  • GitHub Security Advisory
  • 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