The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-29774

CVE-2025-29774: xml-crypto Auth Bypass Vulnerability

CVE-2025-29774 is an authentication bypass flaw in xml-crypto for Node.js that allows attackers to modify signed XML documents while bypassing signature verification. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-29774 Overview

CVE-2025-29774 is a critical signature verification bypass vulnerability in xml-crypto, an XML digital signature and encryption library for Node.js. This flaw allows attackers to modify valid signed XML messages in a way that still passes signature verification checks, effectively bypassing authentication or authorization mechanisms in systems relying on xml-crypto for verifying signed XML documents.

The vulnerability is particularly dangerous in SAML-based authentication flows, where XML signatures are used to verify the authenticity of identity assertions. An attacker exploiting this vulnerability could alter critical identity or access control attributes within a signed XML document, enabling privilege escalation or user impersonation attacks against any user with a valid account.

Critical Impact

Attackers can bypass XML signature verification to modify signed documents, enabling privilege escalation and user impersonation in SAML and other XML-based authentication systems.

Affected Products

  • xml-crypto versions prior to 6.0.1
  • xml-crypto versions prior to 3.2.1 (v3.x branch)
  • xml-crypto versions prior to 2.1.6 (v2.x branch)

Discovery Timeline

  • 2025-03-14 - CVE-2025-29774 published to NVD
  • 2025-03-15 - Last updated in NVD database

Technical Details for CVE-2025-29774

Vulnerability Analysis

This vulnerability is classified under CWE-347 (Improper Verification of Cryptographic Signature), indicating a fundamental flaw in how the xml-crypto library validates XML digital signatures. The issue allows modifications to signed XML content that evade detection during signature verification.

In typical XML signature implementations, the entire referenced content should be canonicalized and hashed, with any modification invalidating the signature. However, the vulnerable versions of xml-crypto contain a flaw in this verification process that permits specific modifications to the signed XML structure while maintaining a valid signature.

This type of vulnerability, often referred to as an XML Signature Wrapping attack variant, exploits weaknesses in how the XML signature verification process handles document structure. The attack is particularly impactful in SAML implementations where signed assertions contain user identity information, roles, and permissions.

Root Cause

The root cause stems from improper verification of cryptographic signatures in the xml-crypto library. The signature validation logic fails to properly bind the signature to all relevant content, allowing attackers to inject or modify elements within the XML document without invalidating the cryptographic signature. This represents a fundamental implementation error in the signature verification workflow that has been addressed in the patched versions through commits to the xml-crypto repository.

Attack Vector

The attack is network-based and requires no user interaction or prior authentication. An attacker with access to a valid signed XML message can craft a modified version that:

  1. Preserves the original valid signature
  2. Modifies identity attributes (username, email, role)
  3. Alters access control permissions or session parameters
  4. Passes signature verification on the target system

The modified document can be submitted to any service using vulnerable xml-crypto versions for SAML authentication, API authorization, or other XML-signed message verification. A low-privileged user could escalate to administrator privileges or impersonate other users by manipulating the signed assertions.

For detailed technical analysis of this vulnerability class, see the WorkOS Blog on SAMLStorm and the GitHub Security Advisory GHSA-9p8x-f768-wp2g.

Detection Methods for CVE-2025-29774

Indicators of Compromise

  • Unusual privilege escalation events following SAML authentication
  • Authentication logs showing users accessing resources outside their normal permissions
  • Discrepancies between IDP (Identity Provider) logs and SP (Service Provider) session attributes
  • Multiple failed authentication attempts followed by successful access with elevated privileges

Detection Strategies

  • Audit all Node.js applications for xml-crypto dependency versions using npm audit or yarn audit
  • Implement logging that captures the full SAML assertion content alongside authentication decisions
  • Enable correlation between Identity Provider issued assertions and Service Provider accepted claims
  • Deploy runtime application security monitoring to detect signature verification anomalies

Monitoring Recommendations

  • Monitor authentication events for privilege escalation patterns post-SAML authentication
  • Implement anomaly detection for user sessions where accessed resources exceed expected permissions
  • Review application dependency manifests regularly for vulnerable xml-crypto versions
  • Set up alerts for authentication flows involving users accessing admin or sensitive functions unexpectedly

How to Mitigate CVE-2025-29774

Immediate Actions Required

  • Upgrade xml-crypto to version 6.0.1 for applications using the v6.x branch
  • Upgrade xml-crypto to version 3.2.1 for applications using the v3.x branch
  • Upgrade xml-crypto to version 2.1.6 for applications using the v2.x branch
  • Conduct a full security audit of SAML authentication flows in affected applications
  • Review access logs for any signs of privilege escalation that may indicate prior exploitation

Patch Information

Security patches have been released across all supported branches of xml-crypto. The fixes are available in the following releases:

  • Version 6.0.1 - For applications on the latest v6.x branch
  • Version 3.2.1 - For applications on the v3.x branch
  • Version 2.1.6 - For applications on the legacy v2.x branch

The security fixes are documented in the GitHub Security Advisory and corresponding commit updates.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling SAML authentication in favor of alternative authentication methods
  • Implement additional validation layers at the application level to verify user identity attributes match expected values
  • Apply network-level restrictions to limit access to SAML endpoints to trusted Identity Providers only
  • Consider implementing additional authorization checks that do not rely solely on SAML assertion content
bash
# Update xml-crypto to patched version
npm update xml-crypto

# Or install specific patched version
npm install xml-crypto@6.0.1

# For v3.x applications
npm install xml-crypto@3.2.1

# For v2.x applications
npm install xml-crypto@2.1.6

# Verify installed version
npm list xml-crypto

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechXml Crypto

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/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
  • AvailabilityHigh
  • CWE References
  • CWE-347
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Release v2.1.6

  • GitHub Release v3.2.1

  • GitHub Release v6.0.1

  • GitHub Security Advisory GHSA-9p8x-f768-wp2g

  • WorkOS Blog on SAMLStorm
  • Related CVEs
  • CVE-2025-29775: xml-crypto Auth Bypass Vulnerability

  • CVE-2024-32962: xml-crypto Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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