Go Vulnerability Database
GO-2025-3780
OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk
Details
OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/openbao/openbao/sdk | All versions, no fix listed |
| Go | github.com/openbao/openbao/sdk/v2 | All versions before 2.3.0 (fixed in 2.3.0) |
References
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq
- https://nvd.nist.gov/vuln/detail/CVE-2025-52893
- 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/commit/ed3f92181528ff776a0324107b8b55026e93766a
- https://github.com/go-viper/mapstructure/pull/105
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30