Vulnerability · Published Mar 27, 2026 · Assigned by GitHub_M
CVE-2026-33758OpenBao has Reflected XSS in its OIDC authentication error message
Critical 9.6
In plain English
A critical-severity improper input validation in openbao from openbao. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | openbao | 2.5.4-r0 | ALPINE-CVE-2026-33758 |
| Alpine:v3.24 | openbao | 2.5.4-r0 | ALPINE-CVE-2026-33758 |
| Go | github.com/openbao/openbao | 0.0.0-20260325133417-6e2b2dd84f0e | GHSA-cpj3-3r2f-xj59 |
| Go | github.com/openbao/openbao | 0.0.0-20260325133417-6e2b2dd84f0e | GO-2026-4862 |
Affected products (as reported)
Weakness: CWE-20, CWE-79, CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
References
- https://github.com/openbao/openbao/security/advisories/GHSA-cpj3-3r2f-xj59 x_refsource_CONFIRM
- https://github.com/openbao/openbao/pull/2709 x_refsource_MISC
- https://github.com/openbao/openbao/commit/6e2b2dd84f0e47cebc90d6e79609dd5274732662 x_refsource_MISC
- https://github.com/openbao/openbao/releases/tag/v2.5.2 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-33758 vdb-entry, x_refsource_REDHAT
- RHBZ#2452294 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33758.json x_sadp-csaf-vex