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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openbao | openbao | < 2.5.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openbao | 2.5.2-1.1 | openSUSE-SU-2026:10438-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20260326T203309-150000.1.155.2 | SUSE-SU-2026:1135-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openbao | 2.5.4-r0 | — |
| Alpine v3.23 | openbao | 2.5.4-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/openbao/openbao | < 0.0.0-20260325133417-6e2b2dd84f0e | 0.0.0-20260325133417-6e2b2dd84f0e | GHSA-cpj3-3r2f-xj59 |
Advisories 4
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- SUSE-SU-2026:1135-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 31, 2026
- WID-SEC-2026-0864 OpenBao: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 30, 2026
- openSUSE-SU-2026:10438-1 openbao-2.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 27, 2026