OpenBao lacks user confirmation for OIDC direct callback mode
Critical9.6CVE-2026-33757 · Published Mar 26, 2026 · updated Jul 27, 2026
### Impact OpenBao does not prompt for user confirmation when logging in via JWT/OIDC and a role with `callback_mode` set to `direct`. This allows an attacker to start an authentication request and perform "remote phishing" by having the victim visit the URL and automatically log-in to the session of the attacker. Despite being based on the authorization code flow, the `direct` mode calls back directly to the API and allows an attacker to poll for an OpenBao token until it is issued. ### Patches Version 2.5.2 includes an additional confirmation screen for `direct` type logins that requires manual user interaction in order to finish the authentication. ### Workarounds This issue can be worked around either by removing any roles with `callback_mode=direct` or enforcing confirmation for every session on the token issuer side for the Client ID used by OpenBao.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/openbao/openbao Go | < 0.0.0-20260325142553-e32103951925 | 0.0.0-20260325142553-e32103951925 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-384
- Also known as
- BIT-openbao-2026-33757, CVE-2026-33757, GO-2026-4860
More OpenBao advisories
All OpenBao| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 5 | OpenBao's Namespace Deletion May Not Delete Data Properly | Low | 0.0.0-20260420173541-6d2e0506e2b4 |
| Apr 21 | OpenBao's Token Store Allows Cross-Namespace Renewal, Revocation | Low | 0.0.0-20260420162526-f58111d2ca54 |
| Apr 21 | OpenBao's SQL Injection in PostgreSQL database secrets engine | Medium4.9 | 0.0.0-20260420155735-b596b0882620 |
| Apr 21 | OpenBao: Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS) | Low3.1 | 0.0.0-20260420180337-2b2a901aa9f7 |
| Apr 21 | OpenBao's Certificate Authentication Allows Token Renewal With Different Certificate | Low3.1 | 0.0.0-20260420160924-abe84e1af4c3 |
| Mar 26 | OpenBao has Reflected XSS in its OIDC authentication error message | Critical | 0.0.0-20260325133417-6e2b2dd84f0e |