CVE-2026-33758: OpenBao has Reflected XSS in its OIDC authentication error message
Impact OpenBao installations that have an OIDC/JWT authentication method enabled and a role with callbackmode=direct configured are vulnerable to XSS via the errordescription parameter on the page for a failed authentication. This allows an attacker access to the token used in the Web UI by a victim.
Published Mar 26, 2026 · Updated Mar 27, 2026
Affected packages
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- < 0.0.0-20260325133417-6e2b2dd84f0e
- Fixed in
- 0.0.0-20260325133417-6e2b2dd84f0e
- Check
go list -m github.com/openbao/openbao
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to gianklug.
References
- https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59
- https://github.com/openbao/openbao/pull/2709
- https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662
- https://github.com/openbao/openbao/releases/tag/v2.5.2
- https://nvd.nist.gov/vuln/detail/CVE-2026-33758
- https://github.com/advisories/GHSA-cpj3-3r2f-xj59
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-63132
OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack
critical9.1No fixSep 22, 2026CVE-2026-33757
OpenBao lacks user confirmation for OIDC direct callback mode
critical9.6Mar 26, 2026CVE-2025-54997
Privileged OpenBao Operator May Execute Code on the Underlying Host
critical9.1Aug 8, 2025
