—
GO-2025-3780
OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk
Quick fix
GO-2025-3780 — github.com/openbao/openbao/sdk/v2: upgrade to the fixed version with the command below.
go get github.com/openbao/openbao/sdk/v2@v2.3.0 Details
OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/openbao/openbao/sdk
Introduced in:
0 No fixed version published yet for github.com/openbao/openbao/sdk (go modules). Pin to a known-safe version or switch to an alternative.
Go / github.com/openbao/openbao/sdk/v2
Introduced in:
0 Fixed in: 2.3.0 Fix
go get github.com/openbao/openbao/sdk/v2@v2.3.0 References
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq [ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2025-52893 [ADVISORY]
- 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 [WEB]
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a [WEB]
- https://github.com/go-viper/mapstructure/pull/105 [WEB]
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0 [WEB]
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30 [WEB]