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-2023-48703

CVE-2023-48703: Go-saml Authentication Bypass Vulnerability

CVE-2023-48703 is an authentication bypass flaw in RobotsAndPencils go-saml that allows attackers to forge SAML assertions by embedding their own public keys. This article covers technical details, affected versions, and fixes.

Published: January 28, 2026

CVE-2023-48703 Overview

CVE-2023-48703 is an authentication bypass vulnerability affecting RobotsAndPencils go-saml, a SAML client library written in Go. The vulnerability exists in all known versions of the library and stems from insecure invocation of the xmlsec1 command line tool used to verify SAML assertion signatures. This flaw allows attackers to bypass authentication by signing SAML assertions themselves and embedding their own public key directly within the SAML token.

Critical Impact

Attackers can completely bypass SAML-based authentication by forging signed assertions with attacker-controlled keys, potentially gaining unauthorized access to protected resources and applications.

Affected Products

  • RobotsAndPencils go-saml (all known versions)

Discovery Timeline

  • 2024-03-06 - CVE CVE-2023-48703 published to NVD
  • 2025-12-04 - Last updated in NVD database

Technical Details for CVE-2023-48703

Vulnerability Analysis

This authentication bypass vulnerability (CWE-287) exists due to improper configuration when calling the xmlsec1 binary for SAML signature verification. The go-saml library fails to restrict the source of public keys used during the signature verification process. When xmlsec1 is invoked without the --enabled-key-data parameter, it accepts public keys from any source, including those embedded directly within the SAML assertion itself.

This architectural flaw fundamentally breaks the trust model of SAML authentication. In a properly implemented SAML flow, the Service Provider (SP) should only accept signatures verified against known, pre-configured Identity Provider (IdP) certificates. However, this vulnerability allows an attacker to completely sidestep this trust relationship.

Root Cause

The root cause lies in the verify function's implementation where the xmlsec1 command line tool is called without specifying the --enabled-key-data parameter. Without this restriction, xmlsec1 does not limit which key data types can be used for signature verification, allowing embedded keys (such as RSA keys directly within the SAML token) to be accepted as valid verification keys.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability through the following process:

  1. Craft a malicious SAML assertion - The attacker creates a SAML assertion with arbitrary claims (e.g., elevated privileges, different user identity)
  2. Generate an attacker-controlled key pair - The attacker generates their own RSA key pair
  3. Sign the assertion - Using the private key, the attacker signs the malicious SAML assertion
  4. Embed the public key - The attacker includes their public key directly within the SAML token structure
  5. Submit to the vulnerable application - When the application verifies the signature using xmlsec1, it accepts the embedded key and validates the attacker's signature as legitimate

This allows complete authentication bypass, enabling attackers to impersonate any user or claim arbitrary roles and permissions within the target application.

Detection Methods for CVE-2023-48703

Indicators of Compromise

  • SAML assertions containing embedded public keys rather than referencing pre-configured IdP certificates
  • Authentication events with unusual key identifiers or certificate signatures that don't match known IdP certificates
  • Sudden appearance of authenticated sessions for users with claims that weren't issued by the legitimate Identity Provider

Detection Strategies

  • Implement monitoring for SAML assertion processing that flags tokens containing inline key data
  • Deploy application-level logging to capture the source of verification keys used during SAML authentication
  • Review authentication logs for anomalous login patterns or unexpected privilege escalations following SAML-based authentication

Monitoring Recommendations

  • Enable verbose logging on xmlsec1 operations to track which key sources are being used for signature verification
  • Implement alerts for authentication events where the signing certificate doesn't match the expected IdP certificate fingerprint
  • Monitor for applications or services using the go-saml library in your environment through software composition analysis tools

How to Mitigate CVE-2023-48703

Immediate Actions Required

  • Migrate away from RobotsAndPencils go-saml to a maintained and secure SAML library for Go applications
  • If SAML is not critical to your application, consider removing SAML support entirely until migration is complete
  • Conduct an audit of all applications using go-saml to assess exposure and prioritize remediation

Patch Information

There is no official patch available for this vulnerability. The go-saml project is archived and no longer maintained. Organizations should migrate to alternative SAML libraries. For more information, refer to the GitHub Security Lab Advisory GHSL-2023-121.

Workarounds

  • Fork the go-saml project and modify the verify function to include the --enabled-key-data argument when calling xmlsec1
  • Specify a restrictive value such as x509 or raw-x509-cert for the --enabled-key-data parameter to limit accepted key sources
  • Thoroughly test any forked implementation in a non-production environment before deployment
bash
# Example workaround configuration for xmlsec1
# Add --enabled-key-data flag to restrict key sources
xmlsec1 --verify --enabled-key-data x509 --id-attr:ID urn:oasis:names:tc:SAML:2.0:assertion:Assertion assertion.xml

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechRobotsandpencils Go Saml

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Security Advisory GHSL-2023-121
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer 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