OpenBao has Reflected XSS in its OIDC authentication error message (CVE-2026-33758)
Description
OpenBao versions prior to 2.5.2 with OIDC/JWT authentication enabled and roles configured with callback_mode=direct are vulnerable to reflected cross-site scripting (XSS) via the error_description parameter on failed authentication pages. This vulnerability allows attackers to access the authentication token used by the victim in the Web UI. The issue is fixed in version 2.5.2 by replacing the error_description parameter with a static error message. Mitigation includes removing roles with callback_mode set to direct.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
OpenBao, an open source identity-based secrets management system, has a reflected XSS vulnerability (CVE-2026-33758) in its OIDC authentication error message prior to version 2.5.2. When OIDC/JWT authentication is enabled and a role is configured with callback_mode=direct, an attacker can exploit the error_description parameter on the failed authentication page to execute arbitrary scripts. This can lead to theft of the victim's authentication token used in the Web UI, potentially exposing database credentials, API keys, or certificates accessible to the user. The vulnerability is mitigated by removing roles with callback_mode=direct or upgrading to version 2.5.2 where the parameter is replaced with a static message.
Potential Impact
An attacker who convinces a user to visit a crafted URL can exploit this reflected XSS vulnerability to steal the victim's authentication token used in the OpenBao Web UI. With this token, the attacker can gain full access to secrets the user is authorized to view, including database credentials, API keys, and certificates. The attacker may also modify or revoke tokens and rotate application secrets. The vulnerability requires user interaction and is limited to installations with specific configurations (OIDC/JWT enabled and callback_mode=direct roles).
Mitigation Recommendations
A fix is available in OpenBao version 2.5.2, which replaces the vulnerable error_description parameter with a static error message. Users should upgrade to version 2.5.2 or later. As an immediate mitigation, review and remove or disable any roles configured with callback_mode=direct in the OIDC/JWT authentication settings. No other actions are required if these mitigations are applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-openbao-2026-33758
- Osv Schema Version
- 1.6.2
- Aliases
- ["CVE-2026-33758"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Critical
Patch Information
Threat ID: 6aa005f4acd9273b49ab6395
Added to database: 09/08/2026, 12:56:20 UTC
Last enriched: 09/08/2026, 13:31:46 UTC
Last updated: 10/23/2026, 15:10:12 UTC
Views: 29
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.