Vulnerability · Published Jun 25, 2025 · Assigned by GitHub_M
CVE-2025-52893OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data
Medium 4.5
In plain English
A medium-severity sensitive data in logs in openbao from openbao. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | openbao | 2.3.1-r0 | ALPINE-CVE-2025-52893 |
| Alpine:v3.23 | openbao | 2.3.1-r0 | ALPINE-CVE-2025-52893 |
| Alpine:v3.24 | openbao | 2.3.1-r0 | ALPINE-CVE-2025-52893 |
| Go | github.com/openbao/openbao/sdk | no fix listed | GO-2025-3780 |
| Go | github.com/openbao/openbao/sdk/v2 | 2.3.0 | GO-2025-3780 |
| Go | github.com/openbao/openbao/sdk/v2 | 2.3.0 | GHSA-8f5r-8cmq-7fmq |
| Ubuntu:25.10 | golang-github-go-viper-mapstructure | no fix listed | UBUNTU-CVE-2025-52893 |
| Ubuntu:26.04:LTS | golang-github-go-viper-mapstructure | no fix listed | UBUNTU-CVE-2025-52893 |
| Ubuntu:26.10 | golang-github-go-viper-mapstructure | no fix listed | UBUNTU-CVE-2025-52893 |
Affected products (as reported)
Weakness: CWE-532 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
References
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq x_refsource_CONFIRM
- https://github.com/go-viper/mapstructure/pull/105 x_refsource_MISC
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a x_refsource_MISC
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30 x_refsource_MISC
- 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 x_refsource_MISC
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0 x_refsource_MISC