Vulnerability · Published Aug 9, 2025 · Assigned by GitHub_M
CVE-2025-54997OpenBao: Privileged Operator May Execute Code on the Underlying Host
Critical 9.1
In plain English
A critical-severity code injection in openbao from openbao. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54997 |
| Alpine:v3.23 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54997 |
| Alpine:v3.24 | openbao | 2.3.2-r0 | ALPINE-CVE-2025-54997 |
| Go | github.com/openbao/openbao | 2.3.2 | GHSA-xp75-r577-cvhp |
| Go | github.com/openbao/openbao | 0.0.0-20250806194004-a14053c9679d | GHSA-xp75-r577-cvhp |
| Go | github.com/openbao/openbao | 0.0.0-20250806194004-a14053c9679d | GO-2025-3858 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/openbao/openbao/security/advisories/GHSA-xp75-r577-cvhp x_refsource_CONFIRM
- https://github.com/openbao/openbao/pull/1634 x_refsource_MISC
- https://discuss.hashicorp.com/t/hcsec-2025-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033 x_refsource_MISC
- https://github.com/openbao/openbao/releases/tag/v2.3.2 x_refsource_MISC