CRITICAL🇵🇱 Wersja polska

CVE-2026-33758

CVSS 9.4v4.0pub. 2026-03-27upd. 2026-06-30

OpenBao is an open source identity-based secrets management system. Prior to version 2.5.2, OpenBao installations that have an OIDC/JWT authentication method enabled and a role with `callback_mode=direct` configured are vulnerable to XSS via the `error_description` parameter on the page for a failed authentication. This allows an attacker access to the token used in the Web UI by a victim. The `error_description` parameter has been replaced with a static error message in v2.5.2. The vulnerability can be mitigated by removing any roles with `callback_mode` set to `direct`.

🤖 AI Analysis
How it works

The vulnerability results from insufficient validation and encoding of the `error_description` parameter displayed on the failed authentication error page (CWE-20, CWE-116). An attacker can craft a malicious URL containing a script in this parameter and trick the victim into visiting it (requires user interaction). When the injected script is executed in the victim's browser, it becomes possible to read the token used in the OpenBao Web UI. In version 2.5.2, the `error_description` parameter was replaced with a static error message, eliminating the attack vector.

Impact

An attacker can obtain the Web UI session token of a logged-in user, leading to unauthorized access to the OpenBao secrets management system with the victim's privileges, and potentially also compromising the integrity and availability of dependent systems.

Mitigation & patch

Update OpenBao to version 2.5.2 or later. As a temporary workaround (without updating), you can remove all roles that have `callback_mode=direct` configured in the OIDC/JWT authentication method configuration.

Who is affected

OpenBao in all versions before 2.5.2, when the OIDC/JWT authentication method is enabled and at least one role is configured with the `callback_mode=direct` parameter.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Openbao

    APP
    Openbao
    < 2.5.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
XSS
CWE
References

Related vulnerabilities

CVE-2026-33757CRITICAL9.6PL ✓same product

OpenBao: zdalne phishing przez JWT/OIDC bez potwierdzenia logowania

CVE-2025-54997CRITICAL9.1PL ✓same product

OpenBao: ominięcie restrykcji przez subsystem audytu — RCE i dostęp sieciowy

CVE-2025-64761HIGH7.5same product

OpenBao is an open source identity-based secrets management system. Prior to version 2.4.4, a privileged opera...

CVE-2025-59043HIGH7.5same product

OpenBao is an open source identity-based secrets management system. In OpenBao versions prior to 2.4.1, JSON o...

CVE-2025-54996HIGH7.2same product

OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secret...