Advisory

GHSA-cpj3-3r2f-xj59

Also known as: BIT-openbao-2026-33758, CVE-2026-33758, GO-2026-4862

Summary

OpenBao has Reflected XSS in its OIDC authentication error message

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-03-26 18:37 UTC
Modified
2026-07-27 09:11 UTC

Affected packages and fixes

github.com/openbao/openbao

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20260325133417-6e2b2dd84f0e (semver)

Fixed versions

0.0.0-20260325133417-6e2b2dd84f0e

Fix

  • Fixed version 0.0.0-20260325133417-6e2b2dd84f0e
    go get github.com/openbao/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences