Skip to main content

CVE-2026-33758

CRITICAL
Basic XSS (CWE-80)
2026-03-26 https://github.com/openbao/openbao
9.4
CVSS 4.0 · Vendor: https://github.com/openbao/openbao
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft OIDC/JWT authentication request with malicious error_description
  2. Exploit
    Victim clicks authentication failure link
  3. Execution
    XSS payload executes in victim's browser
  4. Impact
    Attacker steals Web UI authentication token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

OpenBao with OIDC/JWT authentication method enabled and at least one role configured with callback_mode=direct. Attacker crafts malicious link with XSS payload in error_description parameter. Victim must click the link and be logged into Web UI to expose authentication token.

Impact

Authentication requirements not confirmed from available data (CVSS vector not provided). The vulnerability enables session hijacking in the Web UI, representing a significant authentication bypass risk. However, exploitation requires social engineering to trick authenticated users into clicking a crafted link while logged into the OpenBao Web UI, and the vulnerability only affects installations with the specific callback_mode=direct configuration enabled. No EPSS score or KEV listing indicates limited observed exploitation activity. Real-world risk is moderate: while the technical impact is high (full token compromise), the attack requires both specific configuration conditions and user interaction, reducing the attack surface compared to unauthenticated remote code execution vulnerabilities. Organizations using OpenBao with OIDC/JWT authentication should prioritize patching, especially if callback_mode=direct is deployed in production environments accessible to untrusted users.

Exploit ScenarioDerived

An attacker crafts a malicious URL to the OpenBao Web UI's OIDC authentication callback endpoint, injecting JavaScript into the error_description parameter. The attacker distributes this link via phishing email or social engineering, targeting authenticated OpenBao users. When a victim clicks the link while logged into OpenBao with an active session, the malicious script executes in the context of the OpenBao Web UI, capturing the victim's authentication token and exfiltrating it to the attacker's controlled server, granting full access to secrets and operations available to that user.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

Cross-site scripting in OpenBao's OIDC/JWT authentication method allows theft of Web UI session tokens when roles are configured with callback_mode=direct. Attackers exploit the unsanitized error_description parameter on failed authentication pages to inject malicious scripts that execute in victims' browsers, granting access to authentication tokens. The vulnerability affects OpenBao installations prior to v2.5.2 and has no public exploit identified at time of analysis, though the technical implementation details are publicly documented in the vendor advisory.

RemediationAI

Upgrade OpenBao to version 2.5.2 or later, which replaces the vulnerable error_description parameter with a static error message (see release notes at https://github.com/openbao/openbao/releases/tag/v2.5.2 and fix commit at https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662). For environments where immediate patching is not feasible, disable or reconfigure any OIDC/JWT authentication roles that have callback_mode set to direct, effectively eliminating the vulnerable code path. Review authentication role configurations using the OpenBao CLI or API to identify affected roles and migrate them to alternative callback modes. Additional defense-in-depth measures include implementing Content-Security-Policy headers to restrict inline script execution in the Web UI.

Affected Packages

go github.com/openbao/openbao fix: 0.0.0-20260325133417-6e2b2dd84f0e

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenBao is a Go-based secrets management platform forked from HashiCorp Vault. The vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page) exists in the OIDC/JWT authentication method's error handling flow. When authentication fails, the error_description parameter is reflected in the HTML response without proper sanitization or encoding. This classic reflected XSS vector specifically manifests when authentication roles use callback_mode=direct, which processes OAuth/OIDC callback responses directly in the browser rather than through a server-side intermediary. The affected component is identified via CPE as pkg:go/github.com_openbao_openbao, indicating the vulnerability resides in the core OpenBao Go package distributed through GitHub.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/openbao/openbao) PRIMARY 9.4 CRITICAL
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
Red Hat 9.6 HIGH

Primary rating from Vendor (https://github.com/openbao/openbao).

CVSS VectorVendor: https://github.com/openbao/openbao

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch released
Mar 26, 2026 - 18:45 nvd
Patch available
CVE Published
Mar 26, 2026 - 18:37 nvd
CRITICAL 9.4

DescriptionCVE.org

Impact

OpenBao installations that have an OIDC/JWT authentication method enabled and a role with callback_mode=direct configured are vulnerable to XSS via the error_description parameter on the page for a failed authentication.

This allows an attacker access to the token used in the Web UI by a victim.

Patches

The error_description parameter has been replaced with a static error message in v2.5.2

Workarounds

The vulnerability can be mitigated by removing any roles with callback_mode set to direct.

Executive ViewAI

Why It Matters

OpenBao installations using OIDC/JWT authentication with direct callback mode are vulnerable to session token theft through cross-site scripting attacks on failed login pages. An attacker can inject malicious scripts that execute in users' browsers and steal Web UI session tokens, granting unauthorized access to the platform. Organizations running OpenBao versions prior to v2.5.2 face immediate risk of credential compromise and unauthorized administrative access.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Until patching is completed, mitigations include: (1) disable OIDC/JWT authentication with callback_mode=direct if operationally feasible; (2) implement Web Application Firewall rules to sanitize error_description parameters on authentication endpoints; (3) restrict Web UI access to trusted networks via network segmentation; (4) enable and monitor session token audit logs for unauthorized use.

Threat Intelligence Overview

EPSS Score
0.1%
Top 65% exploitable
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

pkg:go/github.com_openbao_openbao

Related Vulnerabilities in OpenBao OIDC Authentication Bypass

View all 2

Vendor StatusVendor

SUSE

Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy