OpenBao's Namespace Deletion May Not Delete Data Properly
LowCVE-2026-42186 · Published May 5, 2026 · updated Jul 27, 2026
### 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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/openbao/openbao Go | < 0.0.0-20260420173541-6d2e0506e2b4 | 0.0.0-20260420173541-6d2e0506e2b4 |
Details and references
- CVSS 4.0
- 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
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-212
- Also known as
- BIT-openbao-2026-42186, CVE-2026-42186, GO-2026-5674
More OpenBao advisories
All OpenBao| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 28 | OpenBao's Inline Auth Incorrectly Redacted Headers | Medium | 2.5.4 |
| May 28 | OpenBao's cross-namespace lease revocation via legacy sys/revoke path bypasses ACL | High | 2.5.4 |
| Apr 21 | OpenBao's Token Store Allows Cross-Namespace Renewal, Revocation | Low | 0.0.0-20260420162526-f58111d2ca54 |
| Apr 21 | OpenBao's SQL Injection in PostgreSQL database secrets engine | Medium4.9 | 0.0.0-20260420155735-b596b0882620 |
| Apr 21 | OpenBao: Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS) | Low3.1 | 0.0.0-20260420180337-2b2a901aa9f7 |
| Apr 21 | OpenBao's Certificate Authentication Allows Token Renewal With Different Certificate | Low3.1 | 0.0.0-20260420160924-abe84e1af4c3 |