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-2026-34840

CVE-2026-34840: OneUptime SAML SSO Auth Bypass Flaw

CVE-2026-34840 is an authentication bypass flaw in OneUptime's SAML SSO implementation allowing attackers to prepend unsigned assertions and authenticate as arbitrary users. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 2, 2026

CVE-2026-34840 Overview

CVE-2026-34840 is an authentication bypass vulnerability in OneUptime, an open-source monitoring and observability platform. The vulnerability exists in the SAML SSO implementation where decoupled signature verification and identity extraction allow attackers to bypass authentication controls. Prior to version 10.0.42, the application's isSignatureValid() function verifies the first <Signature> element in the XML DOM using xml-crypto, while getEmail() always reads from assertion[0] via xml2js. This architectural flaw enables an attacker to prepend an unsigned assertion containing an arbitrary identity before a legitimately signed assertion, effectively bypassing authentication.

Critical Impact

Attackers can bypass SAML SSO authentication by injecting unsigned assertions with arbitrary user identities, potentially gaining unauthorized access to monitoring and observability systems as any user.

Affected Products

  • OneUptime versions prior to 10.0.42
  • OneUptime SAML SSO implementations using App/FeatureSet/Identity/Utils/SSO.ts

Discovery Timeline

  • April 2, 2026 - CVE-2026-34840 published to NVD
  • April 2, 2026 - Last updated in NVD database

Technical Details for CVE-2026-34840

Vulnerability Analysis

This vulnerability falls under CWE-347 (Improper Verification of Cryptographic Signature), a critical weakness in SAML implementations. The core issue stems from a design flaw where the signature verification logic and identity extraction logic operate on different elements within the SAML response XML document.

In vulnerable versions, the isSignatureValid() function validates the first <Signature> element found in the XML DOM using the xml-crypto library. However, the getEmail() function independently parses the XML using xml2js and extracts user identity from assertion[0]. This decoupling creates a critical security gap.

An attacker with the ability to intercept and modify SAML responses can prepend an unsigned assertion containing a forged identity (such as an administrator's email address) before a legitimately signed assertion. When processed, the signature verification passes because it validates the legitimate second assertion, while the identity extraction reads from the malicious first assertion.

Root Cause

The root cause is the architectural separation between signature verification and identity extraction in the SAML response handling logic. The application uses two different XML parsing approaches (xml-crypto for signature validation and xml2js for data extraction) without ensuring they operate on the same validated assertion element. This allows attackers to exploit the mismatch by inserting additional assertion elements that pass validation but provide different identity data.

Attack Vector

The attack requires network access and authenticated positioning as a low-privileged user to intercept SAML responses. The attacker modifies the SAML response by prepending an unsigned assertion with a target identity (e.g., an administrator's email). When the OneUptime server processes this modified response, it validates the signature on the legitimate assertion but extracts user identity from the injected unsigned assertion, granting the attacker access as the target user.

typescript
// Security patch in App/FeatureSet/Identity/Utils/SSO.ts
// Source: https://github.com/OneUptime/oneuptime/commit/2fd7ede52f60444710628d6c1b34dee2ef9e57d1
       throw new BadRequestException("SAML Assertion not found");
     }
 
+    if (samlAssertion.length !== 1) {
+      throw new BadRequestException(
+        "Expected exactly one Assertion in SAML Response",
+      );
+    }
+
     const samlSubject: JSONArray =
       ((samlAssertion[0] as JSONObject)["saml2:Subject"] as JSONArray) ||
       ((samlAssertion[0] as JSONObject)["saml:Subject"] as JSONArray) ||

Source: GitHub Commit Details

Detection Methods for CVE-2026-34840

Indicators of Compromise

  • SAML responses containing multiple <Assertion> or <saml:Assertion> elements
  • Authentication logs showing sudden privilege escalation or access from unexpected user accounts
  • SAML response payloads with abnormally large sizes or unusual XML structure
  • Authentication events from users who haven't initiated SSO login flows

Detection Strategies

  • Implement XML validation rules to detect SAML responses with multiple assertion elements
  • Deploy application-layer firewalls with SAML-specific inspection capabilities to identify malformed responses
  • Monitor authentication logs for anomalous patterns such as users authenticating from unexpected locations or accessing resources outside their normal scope
  • Establish baseline behavior for SAML authentications and alert on deviations

Monitoring Recommendations

  • Enable detailed logging for all SAML authentication events including full response payloads where feasible
  • Configure alerting for authentication failures followed by unexpected successful logins
  • Monitor for lateral movement patterns following SAML authentications
  • Implement session monitoring to detect account takeover indicators post-authentication

How to Mitigate CVE-2026-34840

Immediate Actions Required

  • Upgrade OneUptime to version 10.0.42 or later immediately
  • Review authentication logs for signs of exploitation prior to patching
  • Audit user access patterns to identify potential unauthorized access
  • Consider temporarily disabling SAML SSO and using alternative authentication methods until patched

Patch Information

The vulnerability has been addressed in OneUptime version 10.0.42. The fix adds validation to ensure exactly one SAML assertion exists in the response before processing. If multiple assertions are detected, the application now throws a BadRequestException with the message "Expected exactly one Assertion in SAML Response".

Patch details are available at:

  • GitHub Commit Details
  • GitHub Release Version 10.0.42
  • GitHub Security Advisory GHSA-5w5c-766x-265g

Workarounds

  • Disable SAML SSO authentication temporarily and use local authentication mechanisms
  • Implement a Web Application Firewall (WAF) rule to reject SAML responses containing multiple assertion elements
  • Add network-level controls to restrict SAML response sources to trusted Identity Providers only
  • Consider implementing additional session validation mechanisms independent of SAML assertions
bash
# Example: Upgrade OneUptime to patched version
git fetch --tags
git checkout 10.0.42
npm install
npm run build

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOneuptime

  • SeverityHIGH

  • CVSS Score8.1

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

  • GitHub Release Version 10.0.42

  • GitHub Security Advisory GHSA-5w5c-766x-265g
  • Related CVEs
  • CVE-2026-35053: OneUptime Auth Bypass Vulnerability

  • CVE-2026-34759: OneUptime Auth Bypass Vulnerability

  • CVE-2026-34758: OneUptime Auth Bypass Vulnerability

  • CVE-2026-27728: OneUptime OS Command Injection RCE Flaw
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