CVE-2026-42186: Github.com/openbao/openbao OpenBao's Namespace Deletion May Not Vulnerability

LOW
Advisory Identifier: GHSA-vv66-6rp4-wr4f
CWE-212
Published
Advisory Summary

CVE-2026-42186 is a LOW openbao's namespace deletion may not vulnerability (CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer) affecting Github.com/openbao/openbao libraries in the Go ecosystem. The issue involves openbao's namespace deletion may not delete data properly. Remediation is available by upgrading affected packages to version 0.0.0-20260420173541-6d2e0506e2b4.

CVE-2026-42186 at a Glance

CVE Identifier CVE-2026-42186
GHSA Identifier GHSA-vv66-6rp4-wr4f
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
Affected Product Github.com/openbao/openbao
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-42186

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: 0.0.0-20260420173541-6d2e0506e2b4
Upgrade github.com/openbao/openbao to 0.0.0-20260420173541-6d2e0506e2b4
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-2026-42186, 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-20260420173541-6d2e0506e2b4), 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-212: Improper Removal of Sensitive Information Before Storage or Transfer, where the product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. 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 When OpenBao's initial namespace deletion fails, subsequent retries fail to properly remove all data before marking the namespace as deleted. This can affect any outstanding leases as well as potentially leaving unrelated storage entries around. ### Patches This will be patched in OpenBao v2.5.3. ### Workarounds Users may manually remove mounts prior to deleting the namespace. Audit logs may be used to identify repeated deletion attempts against the same namespace; `sys/raw` can be used to see what leases were not correctly deleted.

CVE-2026-42186 Affected Github.com/openbao/openbao Versions

1 component(s)
Fixed Versions:
0.0.0-20260420173541-6d2e0506e2b4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/openbao/openbao
Go
< 0.0.0-20260420173541-6d2e0506e2b4
0.0.0-20260420173541-6d2e0506e2b4

References

Frequently Asked Questions

What is CVE-2026-42186?
CVE-2026-42186 is a security vulnerability in Github.com/openbao/openbao involving OpenBao's Namespace Deletion May Not Delete Data Properly under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer.
Which Github.com/openbao/openbao versions are affected?
Affected versions include releases prior to 0.0.0-20260420173541-6d2e0506e2b4 across affected packages: github.com/openbao/openbao.
What version fixes CVE-2026-42186?
Upgrading to 0.0.0-20260420173541-6d2e0506e2b4 (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 0.0.0-20260420173541-6d2e0506e2b4. Upgrade your dependency to 0.0.0-20260420173541-6d2e0506e2b4 or later.
What CWE is associated with CVE-2026-42186?
CVE-2026-42186 is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer (The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.).
How can I check Go dependencies for CVE-2026-42186?
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-vv66-6rp4-wr4f",
  "modified" : "2026-05-14T20:49:19Z",
  "published" : "2026-05-05T20:02:52Z",
  "aliases" : [ "CVE-2026-42186" ],
  "summary" : "OpenBao's Namespace Deletion May Not Delete Data Properly",
  "details" : "### Impact\n\nWhen OpenBao's initial namespace deletion fails, subsequent retries fail to properly remove all data before marking the namespace as deleted. This can affect any outstanding leases as well as potentially leaving unrelated storage entries around. \n\n### Patches\n\nThis will be patched in OpenBao v2.5.3.\n\n### Workarounds\n\nUsers may manually remove mounts prior to deleting the namespace. \n\nAudit logs may be used to identify repeated deletion attempts against the same namespace; `sys/raw` can be used to see what leases were not correctly deleted.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/openbao/openbao"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260420173541-6d2e0506e2b4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/security/advisories/GHSA-vv66-6rp4-wr4f"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-42186"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/commit/6d2e0506e2b41be0eaa6643bf7b4efc9a2c09445"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/openbao/openbao"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/openbao/openbao/releases/tag/v2.5.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-212" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-05T20:02:52Z",
    "nvd_published_at" : "2026-05-14T15:16:46Z"
  }
}