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-2022-41912

CVE-2022-41912: Saml_project Saml Auth Bypass Vulnerability

CVE-2022-41912 is an authentication bypass flaw in the crewjam/saml Go library that allows attackers to circumvent SAML authentication. This article covers technical details, affected versions, and mitigation steps.

Published: February 18, 2026

CVE-2022-41912 Overview

CVE-2022-41912 is a critical authentication bypass vulnerability in the crewjam/saml Go library prior to version 0.4.9. The vulnerability allows attackers to bypass SAML authentication when processing SAML responses containing multiple Assertion elements. This flaw enables unauthorized access to protected resources by manipulating the structure of SAML responses.

Critical Impact

Attackers can bypass authentication entirely, gaining unauthorized access to SAML-protected applications without valid credentials. This could lead to complete compromise of user accounts and sensitive data.

Affected Products

  • saml_project saml (Go library versions prior to 0.4.9)

Discovery Timeline

  • 2022-11-28 - CVE CVE-2022-41912 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-41912

Vulnerability Analysis

This authentication bypass vulnerability (CWE-287) exists in how the crewjam/saml Go library processes SAML responses. The library fails to properly validate SAML responses that contain multiple Assertion elements. When a SAML response includes more than one Assertion, the library may incorrectly process an unsigned or maliciously crafted Assertion while the signature verification is performed on a different, legitimate Assertion.

This signature bypass technique allows attackers to inject arbitrary identity claims that the service provider will accept as authenticated. The vulnerability is particularly dangerous because SAML is widely used for enterprise single sign-on (SSO) implementations, meaning successful exploitation could grant attackers access to multiple connected applications.

Root Cause

The root cause lies in improper validation logic when handling SAML responses with multiple Assertion elements. The library does not ensure that signature validation is applied to the same Assertion element that is subsequently used for authentication decisions. This allows an attacker to craft a response where a valid signature covers one Assertion while a separate, malicious unsigned Assertion is used for identity extraction.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by intercepting or crafting SAML responses and injecting additional unsigned Assertion elements. The malicious response is then sent to the service provider, which processes the unsigned Assertion and grants access based on the attacker-controlled identity claims.

The attack flow involves crafting a SAML response with multiple Assertion elements, where the signed Assertion may contain legitimate but irrelevant data, while the unsigned Assertion contains the attacker's desired identity claims. When the library validates the signature on the first Assertion but extracts identity information from the second unsigned Assertion, authentication is bypassed.

Detection Methods for CVE-2022-41912

Indicators of Compromise

  • SAML responses containing multiple Assertion elements in authentication logs
  • Unexpected user sessions or access from identities not matching IdP records
  • Authentication events without corresponding IdP-initiated sign-on records

Detection Strategies

  • Monitor SAML authentication logs for responses with unusual structures or multiple Assertions
  • Implement SAML response schema validation to detect malformed responses
  • Deploy web application firewall rules to inspect SAML traffic for suspicious patterns
  • Enable detailed logging of SAML assertion processing to identify signature bypass attempts

Monitoring Recommendations

  • Review authentication logs for anomalous SAML response patterns
  • Audit user sessions for signs of unauthorized access following SAML authentication
  • Monitor for unexpected privilege changes or access to sensitive resources post-authentication

How to Mitigate CVE-2022-41912

Immediate Actions Required

  • Upgrade crewjam/saml Go library to version 0.4.9 or later immediately
  • Review authentication logs for signs of exploitation
  • Audit user accounts and sessions authenticated via SAML for unauthorized access
  • Consider temporarily disabling SAML authentication if patching is delayed

Patch Information

The vulnerability has been corrected in version 0.4.9 of the crewjam/saml library. The fix is available in GitHub commit aee3fb1edeeaf1088fcb458727e0fd863d277f8b. Organizations should update their Go dependencies to include this patched version. Additional details are available in the GitHub Security Advisory.

Workarounds

  • No workarounds are available other than upgrading to the fixed version 0.4.9
  • Consider implementing additional authentication factors while awaiting patch deployment
  • Apply network-level restrictions to limit SAML endpoint exposure if possible
bash
# Update Go dependencies to patched version
go get github.com/crewjam/saml@v0.4.9
go mod tidy

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSaml Project

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.27%

  • 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-287
  • Technical References
  • Packet Storm Security Exploit

  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Note
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS 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