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

CVE-2025-31335: OpenSAML C++ Auth Bypass Vulnerability

CVE-2025-31335 is an authentication bypass flaw in OpenSAML C++ library that allows attackers to forge signed SAML messages. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-31335 Overview

CVE-2025-31335 is a signature forgery vulnerability in the OpenSAML C++ library before version 3.3.1. The vulnerability allows attackers to forge signed SAML messages via parameter manipulation when using SAML bindings that rely on non-XML signatures. This affects authentication and authorization systems that depend on SAML for secure identity federation.

Critical Impact

Attackers can forge SAML authentication assertions, potentially bypassing authentication controls and impersonating legitimate users in federated identity systems.

Affected Products

  • OpenSAML C++ library versions prior to 3.3.1
  • Shibboleth Service Provider implementations using vulnerable OpenSAML versions
  • Systems using SAML HTTP-Redirect or HTTP-POST bindings with non-XML signatures

Discovery Timeline

  • 2025-03-13 - Shibboleth releases security advisory
  • 2025-03-28 - CVE CVE-2025-31335 published to NVD
  • 2025-03-28 - Last updated in NVD database

Technical Details for CVE-2025-31335

Vulnerability Analysis

This vulnerability relates to CWE-347 (Improper Verification of Cryptographic Signature). The OpenSAML C++ library contains a flaw in how it handles signature verification for SAML messages when using bindings that employ non-XML signatures, such as HTTP-Redirect binding. The issue enables attackers to manipulate parameters in signed SAML messages without invalidating the cryptographic signature, effectively allowing message forgery.

SAML bindings like HTTP-Redirect use signatures applied to URL-encoded parameters rather than XML digital signatures. The vulnerability exists in how OpenSAML processes and validates these parameters, creating an opportunity for manipulation that bypasses signature verification.

Root Cause

The root cause lies in improper verification of cryptographic signatures in the OpenSAML C++ library. When processing SAML messages with non-XML signatures, the library fails to properly bind all security-relevant parameters to the signature verification process. This allows an attacker to modify certain message parameters after signing while the signature remains valid, violating the integrity guarantees that digital signatures are meant to provide.

Attack Vector

The attack is network-based and requires the attacker to intercept or observe legitimate SAML messages. The attacker can then manipulate specific parameters in the SAML request or response while preserving the original signature. This forged message can be submitted to the service provider, which will incorrectly validate the signature and process the manipulated content.

The attack scenario typically involves:

  1. Intercepting a legitimately signed SAML message
  2. Modifying security-relevant parameters (such as subject identity or authorization attributes)
  3. Submitting the manipulated message to the target service provider
  4. Bypassing authentication or gaining unauthorized access due to improper signature verification

For detailed technical information about the vulnerability mechanism, see the Shibboleth Security Advisory and the Shibboleth Issue Tracker.

Detection Methods for CVE-2025-31335

Indicators of Compromise

  • Unexpected SAML authentication events for users who did not initiate login
  • SAML assertions with mismatched or suspicious attribute values
  • Authentication logs showing access from unexpected locations or times for federated identities
  • Anomalous patterns in SAML message parameters compared to baseline traffic

Detection Strategies

  • Monitor SAML authentication logs for anomalous login patterns or unexpected identity claims
  • Implement logging of all SAML assertion attributes and compare against expected values
  • Deploy network monitoring to detect manipulation of SAML messages in transit
  • Review audit logs for authentication events that correlate with suspicious activity

Monitoring Recommendations

  • Enable verbose logging for SAML service provider components to capture full assertion details
  • Implement alerting on authentication events involving high-privilege accounts via SAML
  • Monitor for multiple authentication attempts using variations of the same base SAML message
  • Correlate SAML authentication events with subsequent user activity for anomaly detection

How to Mitigate CVE-2025-31335

Immediate Actions Required

  • Upgrade OpenSAML C++ library to version 3.3.1 or later immediately
  • Review SAML service provider configurations to ensure proper signature validation settings
  • Audit recent SAML authentication logs for signs of exploitation
  • Consider temporarily disabling SAML bindings that use non-XML signatures if upgrade is not immediately possible

Patch Information

The vulnerability has been addressed in OpenSAML C++ version 3.3.1. The fix is available in the Shibboleth Git repository at commit 22a610b322e2178abd03e97cdbc8fb50b45efaee. Debian users should refer to the Debian Security Announcement for distribution-specific patch information.

Workarounds

  • If immediate patching is not possible, consider restricting SAML authentication to XML-signature-based bindings only
  • Implement additional application-level validation of SAML assertion attributes
  • Deploy network-level controls to limit SAML traffic to trusted identity providers
  • Enable strict signature verification modes in service provider configuration where available
bash
# Example: Verify OpenSAML version on Linux systems
rpm -qa | grep opensaml
dpkg -l | grep opensaml

# Check Shibboleth SP version
shibd -v

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpensaml

  • SeverityMEDIUM

  • CVSS Score4.0

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-347
  • Technical References
  • Shibboleth Git Commit

  • Debian Security Announcement

  • Shibboleth Issue Tracker CPPOST-126

  • Shibboleth Security Advisory 2025-03-13
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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