REDHAT-BUG-2452269: High severity OpenBao OpenBao vulnerability

Published Mar 27, 2026
·
Updated

OpenBao is an open source identity-based secrets management system. Prior to version 2.5.2, OpenBao does not prompt for user confirmation when logging in via JWT/OIDC and a role with callbackmode 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. Version 2.5.2 includes an additional confirmation screen for direct type logins that requires manual user interaction in order to finish the authentication. This issue can be worked around either by removing any roles with callbackmode=direct or enforcing confirmation for every session on the token issuer side for the Client ID used by OpenBao.

Affected Software

1 affected component
OpenBao OpenBao<2.5.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenBao to a version that resolves this vulnerability.

    Fixed in 2.5.2
  2. Configuration

    Remove/disable any OpenBao roles where callback_mode is set to `direct` to prevent direct callback polling and remote phishing.

    OpenBao role.callback_mode = remove any roles with callback_mode=direct
  3. Configuration

    On the token issuer side, enforce confirmation for every session for the Client ID used by OpenBao (JWT/OIDC) to prevent unattended login via the victim's browser.

    OpenBao (token issuer / client for JWT/OIDC) enforce confirmation for every session = enabled

Event History

Mar 27, 2026
Data Sourced
via Red Hat·03:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203