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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openbao | openbao | < 2.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-go-viper-mapstructure | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-go-viper-mapstructure | No fix yet | — |
| Ubuntu 25.10 | golang-github-go-viper-mapstructure | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250730T213748-1.1 | openSUSE-SU-2025:15405-1 |
| openSUSE Tumbleweed | openbao | 2.3.1-1.1 | openSUSE-SU-2025:15254-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openbao | 2.3.1-r0 | — |
| Alpine v3.23 | openbao | 2.3.1-r0 | — |
| Alpine v3.22 | openbao | 2.3.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/openbao/openbao/sdk | all versions | — | GO-2025-3780 |
| Go | github.com/openbao/openbao/sdk/v2 | < 2.3.0 | 2.3.0 | GHSA-8f5r-8cmq-7fmq |
Advisories 2
- openSUSE-SU-2025:15405-1 govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15254-1 openbao-2.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
References
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq
- https://github.com/go-viper/mapstructure/pull/105
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30
- 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
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0