GHSA-7q7g-x6vg-xpc3

Suggest an improvement
Source
https://github.com/advisories/GHSA-7q7g-x6vg-xpc3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7q7g-x6vg-xpc3/GHSA-7q7g-x6vg-xpc3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7q7g-x6vg-xpc3
Aliases
Published
2026-03-26T18:32:54Z
Modified
2026-07-27T09:11:40Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L CVSS Calculator
Summary
OpenBao lacks user confirmation for OIDC direct callback mode
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-384"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-26T18:32:54Z",
    "nvd_published_at":  "2026-03-27T15:16:57Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/openbao/openbao

Package

Name
github.com/openbao/openbao
View open source insights on deps.dev
Purl
pkg:golang/github.com/openbao/openbao

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260325142553-e32103951925

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-7q7g-x6vg-xpc3/GHSA-7q7g-x6vg-xpc3.json"