CVE-2025-54997 OpenBao: Privileged Operator May Execute Code on the Underlying Host
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. In versions 2.3.1 and below, some OpenBao deployments intentionally limit privileged API operators from executing system code or making network connections. However, these operators can bypass both restrictions through the audit subsystem by manipulating log prefixes. This allows unauthorized code execution and network access that violates the intended security model. This issue is fixed in version 2.3.2. To workaround, users can block access to sys/audit/* endpoints using explicit deny policies, but root operators cannot be restricted this way.
Upgrade path
5 packages: 4 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openbao(Go) | < 0.0.0-20250806194004-a14053c9679d; >= 0.1.0; >= 0.1.0, < 2.3.2 | 0.0.0-20250806194004-a14053c9679d, 2.3.2 | Partially fixed |
| alpine/openbao(Alpine v3.22) | < 2.3.2-r0 | 2.3.2-r0 | Fixed |
| alpine/openbao(Alpine v3.23) | < 2.3.2-r0 | 2.3.2-r0 | Fixed |
| alpine/openbao(Alpine v3.24) | < 2.3.2-r0 | 2.3.2-r0 | Fixed |
| openbao | < 2.3.2; = < 2.3.2 | 2.3.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbao(Go) | >= 0.1.0, < 2.3.2 | 2.3.2 |
| openbao(Go) | < 0.0.0-20250806194004-a14053c9679d | 0.0.0-20250806194004-a14053c9679d |
| openbao(Go) | >= 0.1.0 | No fix listed |
| openbao | = < 2.3.2 | No fix listed |
| alpine/openbao(Alpine:v3.22) | < 2.3.2-r0 | 2.3.2-r0 |
| alpine/openbao(Alpine:v3.23) | < 2.3.2-r0 | 2.3.2-r0 |
| alpine/openbao(Alpine:v3.24) | < 2.3.2-r0 | 2.3.2-r0 |
| openbao | < 2.3.2 | 2.3.2 |
References
- https://github.com/openbao/openbao/security/advisories/GHSA-xp75-r577-cvhp vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/openbao/openbao/pull/1634 issue-tracking patch
- github.com patch
- https://discuss.hashicorp.com/t/hcsec-2025-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033 not-applicable
- github.com product
- https://github.com/openbao/openbao/releases/tag/v2.3.2 release-notes
- github.com
- security.alpinelinux.org vendor-advisory