CVE-2026-42186: Github.com/openbao/openbao OpenBao's Namespace Deletion May Not Vulnerability
LOWCVE-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
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.
Upgrade github.com/openbao/openbao to 0.0.0-20260420173541-6d2e0506e2b4
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
CVE-2026-42186 Affected Github.com/openbao/openbao Versions
1 component(s)| 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?
Which Github.com/openbao/openbao versions are affected?
What version fixes CVE-2026-42186?
Is github.com/openbao/openbao affected?
What CWE is associated with CVE-2026-42186?
How can I check Go dependencies for CVE-2026-42186?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}