What’s Vulnerable › Vulnerabilities
CVE-2025-52893: OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data
- Severity: medium (CVSS 4.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-25 · updated 2026-06-17
- Weakness: CWE-532
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
- openbao: before 2.3.0 — fixed in 2.3.0
How to fix
Upgrade to a fixed version: openbao 2.3.0. Check the vendor advisory for mitigations.
References
- 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
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq
Get alerted when CVE-2025-52893 or the next vulnerability affects your stack