CVE-2025-52893 OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data
MediumCVSS 4.5
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
Description
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. OpenBao before v2.3.0 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. This issue has been fixed in OpenBao v2.3.0 and later. Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
Upgrade path
7 packages: 4 fixed, 1 partially fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| openbao github.com/openbao/openbao/sdk/v2(Go) | < 2.3.0; All versions | 2.3.0 | Partially fixed |
| alpine/openbao(Alpine v3.22) | < 2.3.1-r0 | 2.3.1-r0 | Fixed |
| alpine/openbao(Alpine v3.23) | < 2.3.1-r0 | 2.3.1-r0 | Fixed |
| alpine/openbao(Alpine v3.24) | < 2.3.1-r0 | 2.3.1-r0 | Fixed |
| openbao | < 2.3.0; = < 2.3.0 | 2.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbao github.com/openbao/openbao/sdk/v2(Go) | < 2.3.0 | 2.3.0 |
| openbao github.com/openbao/openbao/sdk/v2(Go) | All versions | No fix listed |
| openbao | = < 2.3.0 | No fix listed |
| alpine/openbao(Alpine:v3.22) | < 2.3.1-r0 | 2.3.1-r0 |
| alpine/openbao(Alpine:v3.23) | < 2.3.1-r0 | 2.3.1-r0 |
| alpine/openbao(Alpine:v3.24) | < 2.3.1-r0 | 2.3.1-r0 |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu:26.04) | All versions | No fix listed |
| openbao | < 2.3.0 | 2.3.0 |
| ubuntu/golang-github-go-viper-mapstructure(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/go-viper/mapstructure/pull/105 not-applicable patch
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a not-applicable patch
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30 patch
- https://discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-when-processing-malformed-data-with-the-kv-v2-plugin/74717 not-applicable
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0 not-applicable
- github.com
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org