Loading...
Skip to main content

CVE-2025-54997 — Vulnerability in github.com/openbao/openbao — CVE...

CRITICAL

Privileged OpenBao Operator May Execute Code on the Underlying Host

Published August 8, 2025Updated July 27, 2026Source: osv

Summary

### Impact Under certain threat models, OpenBao operators with privileged API access may not be system administrators and thus normally lack the ability to update binaries or execute code on the system. Additionally, privileged API operators should be unable to perform TCP connections to arbitrary hosts in the environment OpenBao is executing within. The API-driven audit subsystem granted privileged API operators the ability to do both with an attacker-controlled log prefix. Access to these endpoints should be restricted. ### Patches OpenBao v2.3.2 will patch this issue. ### Workarounds Users may deny all access to the `sys/audit/*` interface (with `create` and `update`) permission via policies with explicit deny grants. This would not restrict `root` level operators, however, for whom there are no workarounds. This interface allowed arbitrary filesystem and network (write) access as the user the OpenBao server was running as; in conjunction with allowing custom plugins or other system processes this may enable code execution. ### References This issue was disclosed to HashiCorp and is the OpenBao equivalent of the following tickets: - https://discuss.hashicorp.com/t/hcsec-2025-14-privileged-vault-operator-may-execute-code-on-the-underlying-host/76033 - https://nvd.nist.gov/vuln/detail/CVE-2025-6000

Advisory Timeline

  • First published August 8, 2025 (430 days ago).
  • Last revised July 27, 2026 — 353 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/openbao/openbao to 0.0.0-20250806194004-a14053c9679d or later
go get github.com/openbao/openbao@v0.0.0-20250806194004-a14053c9679d
Go
Update github.com/openbao/openbao to 2.3.2 or later
go get github.com/openbao/openbao@v2.3.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/openbao/openbao
go
All versions0.0.0-20250806194004-a14053c9679d
github.com/openbao/openbao
go
All versions2.3.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-54997?
Privileged OpenBao Operator May Execute Code on the Underlying Host This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2025-54997?
CVE-2025-54997 affects github.com/openbao/openbao. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54997 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xp75-r577-cvhp
BIT-openbao-2025-54997
GO-2025-3858

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies