CVE-2025-52893
mediumpriority · track · 0EPSS 0.003 · 26 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (5)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- GHSA-8f5r-8cmq-7fmqOpenBao Inserts Sensitive Information into Log File when processing malformed data2025-06-26ghsa · osvUS
### Impact OpenBao before v2.3.0 and HashiCorp Vault as of the current v1.19.5 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. ### Patches This issue has been fixed in OpenBao v2.3.0 and later. ### Workarounds Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients. ### Remediation Users with the capability to search through server and audit logs for any possible exposed secrets can refer to the following snippets to aid in searching: Audit Log ``` ... "error":"error converting input for field \"password\": expected type 'string', got unconvertible type 'map[string]interface {}', value: '<sensitive data>'" ... ``` Server Log ``` error converting input for field "password": expected type 'string', got unconvertible type 'map[string]interface {}', value: '<sensitive data>' ``` If any matches are found, rotating the affected secret is advised. ### References See also: 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 See also: https://github.com/go-viper/mapstructure/releases/tag/v2.3.0 See also: https://github.com/go-viper/mapstructure/pull/105 -> https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a
- BIT-openbao-2025-52893OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data2026-07-27vendor · osvUS
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.
- GO-2025-3780OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk2025-07-28vendor · osvUS
OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk
also known as (6)
Other names and identifiers for this entity.
- CNNVD-202506-3191cnnvd
- EUVD-2025-19112enisa_euvd
- GHSA-8f5r-8cmq-7fmqenisa_euvd
- BIT-openbao-2025-52893osv
- GHSA-8f5r-8cmq-7fmqosv
- GO-2025-3780osv
sources
Which sources assert this record, and when.
references (20)
External citations — patches, advisories, analysis.
- 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/74717cnnvd
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766acnnvd
- https://github.com/go-viper/mapstructure/pull/105cnnvd
- https://github.com/go-viper/mapstructure/releases/tag/v2.3.0cnnvd
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30cnnvd
- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmqcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-52893cnnvd
- https://openbao.org/downloads/Patchcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan