Skip to main content

CVE-2026-33758 — OpenBao has Reflected XSS in...

CRITICAL

OpenBao has Reflected XSS in its OIDC authentication error message

Published March 26, 2026Updated July 27, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.53%). Schedule for your next planned update.

Does your project use an affected github.com/openbao/openbao version?

Paste your go.sum to check it for CVE-2026-33758 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

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.

Advisory Timeline

  • First published March 26, 2026 (245 days ago).
  • Last revised July 27, 2026 — 123 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/openbao/openbao to 0.0.0-20260325133417-6e2b2dd84f0e or later
go get github.com/openbao/openbao@v0.0.0-20260325133417-6e2b2dd84f0e

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/openbao/openbao Go · Affected: All versions0.0.0-20260325133417-6e2b2dd84f0e

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2026-33758?
OpenBao has Reflected XSS in its OIDC authentication error message. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2026-33758?
CVE-2026-33758 affects github.com/openbao/openbao. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33758 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.53%
EPSS percentile: 38.6

This is a below-median EPSS score — only 38.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-cpj3-3r2f-xj59
BIT-openbao-2026-33758
GO-2026-4862

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum