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
    • 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-54419

CVE-2025-54419: Node-SAML Auth Bypass Vulnerability

CVE-2025-54419 is an authentication bypass flaw in Node-SAML that allows attackers to modify authentication details within valid SAML assertions. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-54419 Overview

CVE-2025-54419 is a critical authentication bypass vulnerability in Node-SAML, a framework-agnostic SAML library for Node.js applications. The vulnerability exists in version 5.0.1, where the library incorrectly loads assertion data from the unsigned original response document rather than from the signed and verified portions of the SAML response. This discrepancy between what is verified and what is used allows attackers to modify authentication details within an otherwise valid SAML assertion.

Critical Impact

This vulnerability enables attackers with access to a validly signed SAML document from an Identity Provider (IdP) to manipulate authentication details, including the ability to modify usernames character-by-character. This could lead to complete authentication bypass and unauthorized access to protected resources.

Affected Products

  • Node-SAML version 5.0.1
  • Applications using Node-SAML 5.0.1 for SAML-based authentication
  • Node.js services implementing SAML SSO with the affected library version

Discovery Timeline

  • 2025-07-28 - CVE-2025-54419 published to NVD
  • 2025-07-29 - Last updated in NVD database

Technical Details for CVE-2025-54419

Vulnerability Analysis

This vulnerability is classified under CWE-287 (Improper Authentication), representing a fundamental flaw in how Node-SAML processes SAML assertions. The core issue stems from a mismatch between the XML elements that undergo cryptographic signature verification and the XML elements that are subsequently used for authentication decisions.

In SAML authentication flows, Identity Providers digitally sign assertions to ensure integrity and authenticity. The signature verification process is designed to detect any tampering with the signed content. However, Node-SAML version 5.0.1 contains a critical flaw where the library performs signature verification on one portion of the XML document but extracts authentication attributes from a different, unsigned portion of the original response.

This architectural flaw means an attacker can craft a malicious SAML response that passes signature validation while containing manipulated authentication data. The attack is particularly dangerous because it does not require breaking any cryptographic protections—instead, it exploits the logical separation between verification and data extraction.

Root Cause

The root cause is an improper data source selection during SAML assertion processing. Node-SAML version 5.0.1 validates signatures against specific XML elements but then retrieves user identity information from the original, unverified response document. This creates a vulnerability window where unsigned data influences security decisions.

The library fails to maintain the security principle that only cryptographically verified data should be trusted for authentication purposes. By loading assertion values from the unsigned original document instead of the verified signed content, the library undermines the entire purpose of SAML's digital signature mechanism.

Attack Vector

The attack requires an attacker to possess a validly signed SAML document from the target Identity Provider. With this document, the attacker can manipulate authentication attributes such as usernames within the unsigned portions of the response while preserving the valid signature on other elements.

One documented attack scenario involves character removal from usernames. An attacker could modify the SAML assertion to remove specific characters from a username, potentially impersonating other users in the system. For example, removing characters could transform one user's identity into another's, enabling unauthorized access to accounts and resources.

The attack is network-accessible and requires no user interaction or special privileges, making it highly exploitable in environments where SAML-based single sign-on is deployed. The attacker only needs to intercept or obtain a single valid SAML response to craft malicious authentication requests.

Detection Methods for CVE-2025-54419

Indicators of Compromise

  • SAML assertions containing discrepancies between signed and unsigned XML element values
  • Authentication logs showing unexpected username variations or character substitutions
  • Multiple authentication attempts with similar but slightly different user identifiers
  • Unusual patterns in SAML response processing where usernames differ from expected IdP values

Detection Strategies

  • Implement logging that captures both the signed assertion content and the extracted authentication attributes for comparison
  • Monitor for authentication events where the authenticated username differs from known user directory entries
  • Deploy application-level monitoring to detect SAML processing anomalies
  • Review authentication logs for patterns of character-level username manipulation

Monitoring Recommendations

  • Enable verbose logging on SAML authentication endpoints to capture full assertion details
  • Implement real-time alerting for authentication events involving unknown or modified usernames
  • Cross-reference authenticated identities against authoritative user directories
  • Monitor Node-SAML library usage across your environment to identify vulnerable deployments

How to Mitigate CVE-2025-54419

Immediate Actions Required

  • Upgrade Node-SAML to version 5.1.0 or later immediately
  • Audit all applications in your environment using Node-SAML for SAML authentication
  • Review recent authentication logs for signs of exploitation or unusual access patterns
  • Notify security teams of systems using SAML-based authentication that may be affected

Patch Information

The vulnerability is fixed in Node-SAML version 5.1.0. The fix ensures that assertion data is loaded from the verified signed content rather than the unsigned original response document. Organizations should update their dependencies to include at least version 5.1.0 of the library.

For detailed information about the fix, refer to the GitHub Security Advisory GHSA-4mxg-3p6v-xgq3 and the release notes for version 5.1.0. The specific code changes can be reviewed in the commit 31ead94.

Workarounds

  • If immediate patching is not possible, consider temporarily disabling SAML-based authentication in favor of alternative authentication methods
  • Implement additional server-side validation of authenticated user identities against authoritative sources
  • Deploy web application firewall rules to inspect and validate SAML responses before processing
  • Restrict network access to SAML endpoints to trusted Identity Provider IP ranges
bash
# Update Node-SAML to patched version
npm update node-saml@5.1.0

# Verify installed version
npm list node-saml

# For yarn users
yarn upgrade node-saml@5.1.0

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechNode Saml

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.04%

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

  • GitHub Release v5.1.0

  • GitHub Security Advisory GHSA-4mxg-3p6v-xgq3
  • Related CVEs
  • CVE-2025-54369: Node-SAML Auth Bypass Vulnerability
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