{"id":"CVE-2026-33757","aliases":["GHSA-7q7g-x6vg-xpc3","BIT-openbao-2026-33757","GO-2026-4860"],"title":"OpenBao lacks user confirmation for OIDC direct callback mode","summary":"OpenBao lacks user confirmation for OIDC direct callback mode","severity":"critical","cvss":9.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L","vendor":"openbao","product":"github.com/openbao/openbao","ecosystem":"go","affected":["github.com/openbao/openbao < 0.0.0-20260325142553-e32103951925"],"patched":["github.com/openbao/openbao 0.0.0-20260325142553-e32103951925"],"published":"2026-03-26","updated":"2026-07-27","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-7q7g-x6vg-xpc3","references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-7q7g-x6vg-xpc3"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33757"},{"url":"https://github.com/openbao/openbao/commit/e32103951925723e9787e33886ab6b6ec20f4964"},{"url":"https://datatracker.ietf.org/doc/html/rfc8628#section-5.4"},{"url":"https://github.com/openbao/openbao"}],"tags":["osv","go"],"epss":0.00411,"epssPercentile":0.34958,"ingestedAt":"2026-07-27T19:08:54.215Z","slug":"CVE-2026-33757","body":"## Overview\n\n### Impact\n\nOpenBao does not prompt for user confirmation when logging in via JWT/OIDC and a role with `callback_mode` set to `direct`.\n\nThis 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.\n\n### Patches\nVersion 2.5.2 includes an additional confirmation screen for `direct` type logins that requires manual user interaction in order to finish the authentication.\n\n### Workarounds\nThis 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.\n\n## Affected packages\n\n- `github.com/openbao/openbao < 0.0.0-20260325142553-e32103951925`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/openbao/openbao 0.0.0-20260325142553-e32103951925`","depth":"midnight","depthScore":53,"depthScoreParts":{"impact":52.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}