CVE-2025-52894: Github.com/openbao/openbao OpenBao Allows Cancellation Of Root Vulnerability

MODERATE
Advisory Identifier: GHSA-prpj-rchp-9j5h
CWE-20 CWE-306
Published
Advisory Summary

CVE-2025-52894 is a MODERATE openbao allows cancellation of root vulnerability (CWE-20: Improper Input Validation) affecting Github.com/openbao/openbao libraries in the Go ecosystem. The issue involves openbao allows cancellation of root rekey and recovery rekey operations without authentication. Remediation is available by upgrading affected packages to version 0.0.0-20250625150133-fe75468822a2.

CVE-2025-52894 at a Glance

CVE Identifier CVE-2025-52894
GHSA Identifier GHSA-prpj-rchp-9j5h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Github.com/openbao/openbao
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-52894

To remediate this vulnerability, upgrade all affected Github.com/openbao/openbao dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/openbao/openbao fixed: Latest secure release
Upgrade github.com/openbao/openbao to Latest secure release
github.com/openbao/openbao fixed: 0.0.0-20250625150133-fe75468822a2
Upgrade github.com/openbao/openbao to 0.0.0-20250625150133-fe75468822a2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/openbao/openbao

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-52894, inspect your project dependencies for Github.com/openbao/openbao:

inspect dependencies for github.com/openbao/openbao

Analyze the terminal output to locate any version of Github.com/openbao/openbao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250625150133-fe75468822a2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Github.com/openbao/openbao, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact OpenBao and HashiCorp Vault allowed an attacker to perform unauthenticated, unaudited cancellation of root rekey and recovery rekey operations, effecting a denial of service. ### Patches In OpenBao v2.2.2 and later, manually setting the configuration option `disable_unauthed_rekey_endpoints=true` allows an operator to deny these rarely-used endpoints on global listeners. In a future OpenBao release [communicated on our website](https://openbao.org/docs/deprecation/), we will set this to `true` for all users and provide an authenticated alternative. This vulnerability has been disclosed to HashiCorp; see their website for more information. ### Workarounds If an active proxy or load balancer sits in front of OpenBao, an operator can deny requests to these endpoints from unauthorized IP ranges. ### References See the [deprecation notice](https://openbao.org/docs/deprecation/unauthed-rekey/).

CVE-2025-52894 Affected Github.com/openbao/openbao Versions

2 component(s)
Fixed Versions:
0.0.0-20250625150133-fe75468822a2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openbao/openbao
Go
≥ 0.1.0
github.com/openbao/openbao
Go
< 0.0.0-20250625150133-fe75468822a2
0.0.0-20250625150133-fe75468822a2

References

Frequently Asked Questions

What is CVE-2025-52894?
CVE-2025-52894 is a security vulnerability in Github.com/openbao/openbao involving OpenBao allows cancellation of root rekey and recovery rekey operations without authentication under CWE-20: Improper Input Validation.
Which Github.com/openbao/openbao versions are affected?
Affected versions include releases prior to 0.0.0-20250625150133-fe75468822a2 across affected packages: github.com/openbao/openbao.
What version fixes CVE-2025-52894?
Upgrading to 0.0.0-20250625150133-fe75468822a2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/openbao/openbao affected?
Yes, github.com/openbao/openbao is affected in releases prior to Latest secure release, 0.0.0-20250625150133-fe75468822a2. Upgrade your dependency to Latest secure release, 0.0.0-20250625150133-fe75468822a2 or later.
What CWE is associated with CVE-2025-52894?
CVE-2025-52894 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Go dependencies for CVE-2025-52894?
Run the dependency tree command: 'inspect dependencies for github.com/openbao/openbao'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-prpj-rchp-9j5h",
  "modified" : "2025-08-12T20:30:31Z",
  "published" : "2025-06-26T21:29:05Z",
  "aliases" : [ "CVE-2025-52894" ],
  "summary" : "OpenBao allows cancellation of root rekey and recovery rekey operations without authentication",
  "details" : "### Impact\n\nOpenBao and HashiCorp Vault allowed an attacker to perform unauthenticated, unaudited cancellation of root rekey and recovery rekey operations, effecting a denial of service.\n\n### Patches\n\nIn OpenBao v2.2.2 and later, manually setting the configuration option `disable_unauthed_rekey_endpoints=true` allows an operator to deny these rarely-used endpoints on global listeners.\n\nIn a future OpenBao release [communicated on our website](https://openbao.org/docs/deprecation/), we will set this to `true` for all users and provide an authenticated alternative.\n\nThis vulnerability has been disclosed to HashiCorp; see their website for more information. \n\n### Workarounds\n\nIf an active proxy or load balancer sits in front of OpenBao, an operator can deny requests to these endpoints from unauthorized IP ranges.\n\n### References\n\nSee the [deprecation notice](https://openbao.org/docs/deprecation/unauthed-rekey/).",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openbao/openbao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 2.3.1"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openbao/openbao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20250625150133-fe75468822a2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/security/advisories/GHSA-prpj-rchp-9j5h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-52894"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/commit/fe75468822a22a88318c6079425357a02ae5b77b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openbao/openbao"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/releases/tag/v2.3.1"
  }, {
    "type" : "WEB",
    "url" : "https://openbao.org/docs/deprecation"
  }, {
    "type" : "WEB",
    "url" : "https://openbao.org/docs/deprecation/unauthed-rekey"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3783"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-306" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-26T21:29:05Z",
    "nvd_published_at" : "2025-06-25T17:15:39Z"
  }
}