OpenBao has Reflected XSS in its OIDC authentication error message
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
OpenBao is an open source identity-based secrets management system. Prior to version 2.5.2, 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. The `error_description` parameter has been replaced with a static error message in v2.5.2. The vulnerability can be mitigated by removing any roles with `callback_mode` set to `direct`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| openbao | openbao | before 2.5.2 | 2.5.2 | Patch available | CNA |
| — | github.com/openbao/openbao (Go) | before 0.0.0-20260325133417-6e2b2dd84f0e | 0.0.0-20260325133417-6e2b2dd84f0e | Patch available | GHSA-cpj3-3r2f-xj59 |
- openbao Vendoropenbao Affected before 2.5.2 Fixed in 2.5.2 Patch available CNA
- github.com/openbao/openbao (Go) Vendor— Affected before 0.0.0-20260325133417-6e2b2dd84f0e Fixed in 0.0.0-20260325133417-6e2b2dd84f0e Patch available GHSA-cpj3-3r2f-xj59
Remediation
- Fix · CNA openbao (openbao) Fixed in 2.5.2
- Fix · GHSA-cpj3-3r2f-xj59 github.com/openbao/openbao (Go) Fixed in 0.0.0-20260325133417-6e2b2dd84f0e Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33758
- 2026-10-03 Alias added: GHSA-cpj3-3r2f-xj59
References
Patch 2
Advisory 2
More Openbao vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2026-28381 OpenBao has Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS) CVSS 3.1MEDIUM 6.5
- TI-2026-26136 OpenBao lacks user confirmation for OIDC direct callback mode CVSS 3.1CRITICAL 9.6
- TI-2025-34701 OpenBao: Privileged Operator May Execute Code on the Underlying Host CVSS 3.1CRITICAL 9.1
- TI-2025-36685 OpenBao vulnerable to denial of service via malicious JSON request processing CVSS 3.1HIGH 7.5
- TI-2024-07039 Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default CVSS 3.1HIGH 8.8
Sources
- CVE-2026-33758 · CVE Program
- CVE-2026-33758 · NVD
- FIRST EPSS
- GHSA-cpj3-3r2f-xj59 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-33758 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences