# CVE-2025-54997: OpenBao: Privileged Operator May Execute Code on the Underlying Host

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-26)
- **CWE:** CWE-94
- **Aliases:** BIT-openbao-2025-54997, GHSA-xp75-r577-cvhp, GO-2025-3858
- **Published:** 2025-08-08T14:37:22.000Z
- **Modified:** 2026-07-27T09:11:20.638Z

## Who should check

- Projects that depend on Go package github.com/openbao/openbao (\>= 0.1.0, \< 2.3.2)
- Anyone running openbao \< 2.3.2

## 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 and fixed versions

- Go `github.com/openbao/openbao`: affected \>= 0.1.0, \< 2.3.2; fixed 2.3.2, 0.0.0-20250806194004-a14053c9679d (osv)
- openbao: \< 2.3.2 (cvelist)

## Mitigation

- Upgrade github.com/openbao/openbao to one of 2.3.2, 0.0.0-20250806194004-a14053c9679d (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-54997. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54997.md
Affected: github.com/openbao/openbao >= 0.1.0, < 2.3.2
Fixed in: 2.3.2, 0.0.0-20250806194004-a14053c9679d

Steps:
1. Search this machine and project for github.com/openbao/openbao (Go), openbao: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-54997 being exploited?

There is no confirmed exploitation: CVE-2025-54997 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-54997?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-54997?

github.com/openbao/openbao \>= 0.1.0, \< 2.3.2.

### Is there a fix for CVE-2025-54997?

Yes. Fixed in 2.3.2, 0.0.0-20250806194004-a14053c9679d. Upgrade github.com/openbao/openbao to one of 2.3.2, 0.0.0-20250806194004-a14053c9679d (or later in the same release line).

### How do I check if I'm affected by CVE-2025-54997?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openbao/openbao/security/advisories/GHSA-xp75-r577-cvhp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-54997>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-6000>
- patch: <https://github.com/openbao/openbao/pull/1634>
- patch: <https://github.com/openbao/openbao/commit/a14053c9679d6e9cf370f00cf933476cda6d84a2>
- other: <https://discuss.hashicorp.com/t/hcsec-2025-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033>
- other: <https://github.com/openbao/openbao/releases/tag/v2.3.2>
- other: <https://github.com/openbao/openbao>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-54997>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xp75-r577-cvhp> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3858> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-54997> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-54997>
