Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-33758

CVE-2026-33758: OpenBao OIDC Authentication XSS Vulnerability

CVE-2026-33758 is a cross-site scripting flaw in OpenBao's OIDC/JWT authentication that enables attackers to steal Web UI tokens. This post covers the technical details, affected versions, impact, and mitigation steps.

Published: April 3, 2026

CVE-2026-33758 Overview

OpenBao is an open source identity-based secrets management system. A critical Cross-Site Scripting (XSS) vulnerability has been identified in OpenBao installations that have an OIDC/JWT authentication method enabled with a role configured to use callback_mode=direct. The vulnerability exists in the error_description parameter on the authentication failure page, allowing attackers to inject malicious scripts that can steal authentication tokens used in the Web UI.

Critical Impact

This XSS vulnerability enables attackers to steal authentication tokens from victims using the OpenBao Web UI, potentially granting unauthorized access to sensitive secrets and credentials stored within the system.

Affected Products

  • OpenBao versions prior to 2.5.2
  • OpenBao installations with OIDC/JWT authentication method enabled
  • Configurations with roles using callback_mode=direct

Discovery Timeline

  • 2026-03-27 - CVE CVE-2026-33758 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-33758

Vulnerability Analysis

This vulnerability is a reflected Cross-Site Scripting (XSS) flaw that affects the OIDC/JWT authentication flow in OpenBao. When authentication fails, the application displays an error page that incorporates the error_description parameter directly into the HTML response without proper sanitization. This allows an attacker to craft malicious URLs containing JavaScript payloads that execute in the context of a victim's browser session.

The attack is particularly dangerous because it targets the authentication system, giving attackers direct access to session tokens and authentication credentials. Since OpenBao is a secrets management system, compromising these tokens could lead to exposure of stored secrets, API keys, database credentials, and other sensitive information managed by the platform.

Root Cause

The root cause is improper input validation (CWE-20) of the error_description parameter in the JWT authentication credential handler. The parameter was being rendered directly into the HTML response without proper encoding or sanitization, allowing arbitrary HTML and JavaScript injection.

Attack Vector

The attack requires user interaction where an attacker must convince a victim to click a malicious link. The attacker crafts a URL targeting the OpenBao authentication endpoint with a malicious error_description parameter containing JavaScript code. When the victim clicks the link and the authentication fails, the malicious script executes in the victim's browser, allowing the attacker to exfiltrate session tokens or perform actions on behalf of the victim.

go
// Security patch in builtin/credential/jwt/html_responses.go
// Source: https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662
 
package jwtauth

-import "fmt"
+import (
+	"encoding/json"
+	"fmt"
+	"html"
+)

const successHTML = `
<!DOCTYPE html>

Source: GitHub Commit Update

The patch introduces the html package for proper escaping and the encoding/json package for safe handling of error descriptions. The fix replaces the dynamic error_description parameter with a static error message, eliminating the XSS vector entirely.

Detection Methods for CVE-2026-33758

Indicators of Compromise

  • Unusual HTTP requests to OIDC/JWT authentication endpoints containing <script> tags or JavaScript event handlers in the error_description parameter
  • Authentication error pages being accessed with abnormally long or encoded URL parameters
  • Reports of unexpected JavaScript execution or browser behavior during OpenBao authentication failures

Detection Strategies

  • Monitor web application logs for requests containing XSS payloads in the error_description parameter
  • Implement Web Application Firewall (WAF) rules to detect and block common XSS patterns in authentication-related endpoints
  • Review access logs for unusual patterns of authentication failures combined with suspicious parameter values
  • Enable Content Security Policy (CSP) headers to detect and report inline script execution attempts

Monitoring Recommendations

  • Configure alerting for authentication endpoint requests containing HTML or JavaScript special characters
  • Monitor for session token exfiltration attempts by tracking unusual outbound connections following authentication failures
  • Implement browser-side monitoring for unexpected script execution in the OpenBao Web UI
  • Regularly audit OIDC/JWT role configurations to identify roles using callback_mode=direct

How to Mitigate CVE-2026-33758

Immediate Actions Required

  • Upgrade OpenBao to version 2.5.2 or later immediately
  • Audit all OIDC/JWT authentication method configurations to identify roles with callback_mode=direct
  • Review access logs for any signs of exploitation attempts
  • Consider rotating any credentials or tokens that may have been exposed

Patch Information

OpenBao has released version 2.5.2 which addresses this vulnerability by replacing the dynamic error_description parameter with a static error message. The fix was implemented in Pull Request #2709 and is available in the v2.5.2 release. Full details are available in the GitHub Security Advisory GHSA-cpj3-3r2f-xj59.

Workarounds

  • Remove any roles with callback_mode set to direct until the patch can be applied
  • Implement strict Content Security Policy headers to mitigate XSS impact
  • Use a Web Application Firewall to filter malicious requests to authentication endpoints
  • Restrict access to the OpenBao Web UI to trusted networks only
bash
# Configuration example - Remove direct callback mode from OIDC roles
# List all roles to identify those with callback_mode=direct
bao list auth/oidc/role

# Read role configuration to check callback_mode
bao read auth/oidc/role/<role_name>

# Update role to remove direct callback mode (use default instead)
bao write auth/oidc/role/<role_name> callback_mode="client"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechOpenbao

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Release v2.5.2
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Pull Request #2709

  • GitHub Security Advisory GHSA-cpj3-3r2f-xj59
  • Related CVEs
  • CVE-2026-39396: OpenBao OCI Plugin DOS Vulnerability

  • CVE-2026-40264: OpenBao Privilege Escalation Vulnerability

  • CVE-2026-39388: OpenBao Auth Bypass Vulnerability

  • CVE-2026-39946: OpenBao PostgreSQL SQLI 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