{"id":"CVE-2025-52893","aliases":["CVE-2025-52893","GHSA-8f5r-8cmq-7fmq","BIT-OPENBAO-2025-52893","GO-2025-3780"],"related":[],"kind":"vulnerability","state":"published","title":"OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nOpenBao 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. \n\n### Patches\n\nThis issue has been fixed in OpenBao v2.3.0 and later.\n\n### Workarounds\n\nLike with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.\n\n### Remediation\n\nUsers 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:\n\nAudit Log\n\n```\n... \"error\":\"error converting input for field \\\"password\\\": expected type 'string', got unconvertible type 'map[string]interface {}', value: '<sensitive data>'\" ...\n```\n\nServer Log\n\n```\nerror converting input for field \"password\": expected type 'string', got unconvertible type 'map[string]interface {}', value: '<sensitive data>'\n```\n\nIf any matches are found, rotating the affected secret is advised.\n\n### References\n\nSee 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\n\nSee also: https://github.com/go-viper/mapstructure/releases/tag/v2.3.0\n\nSee also: https://github.com/go-viper/mapstructure/pull/105 -> https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a","format":"markdown","source":"ghsa"},{"lang":"en","text":"OpenBao Inserts Sensitive Information into Log File when processing malformed data in github.com/openbao/openbao/sdk","format":"markdown","source":"go"},{"lang":"es","text":"OpenBao existe para proporcionar una solución de software que permite gestionar, almacenar y distribuir datos confidenciales, como secretos, certificados y claves. Las versiones anteriores de OpenBao v2.3.0 pueden filtrar información confidencial en los registros al procesar datos malformados. Esto es independiente de la anterior HCSEC-2025-09 / CVE-2025-4166. Este problema se ha corregido en OpenBao v2.3.0 y posteriores. Al igual que con HCSEC-2025-09, no existe una solución alternativa conocida, salvo garantizar que las solicitudes de todos los clientes tengan el formato correcto.","source":"nvd"}],"published":"2025-06-25T16:54:50.262Z","modified":"2026-09-08T08:48:16.648Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 2.3.0","status":"affected"}],"vendor":"openbao","product":"openbao","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Go","package":"github.com/openbao/openbao/sdk/v2","purl":"pkg:golang/github.com/openbao/openbao/sdk/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/openbao/openbao/sdk","purl":"pkg:golang/github.com/openbao/openbao/sdk","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Go","package":"github.com/openbao/openbao/sdk/v2","purl":"pkg:golang/github.com/openbao/openbao/sdk/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.3.0"}],"vendor":"openbao","product":"openbao","cpe":"cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"Bitnami","package":"openbao","purl":"pkg:bitnami/openbao","source":"bitnami"}],"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-viper/mapstructure/pull/105","tags":["not-applicable","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a","tags":["not-applicable","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"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","tags":["not-applicable","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-viper/mapstructure/releases/tag/v2.3.0","tags":["not-applicable","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52893","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-25T20:35:02.788Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52893","url":"https://www.cve.org/CVERecord?id=CVE-2025-52893","licence":"CVE Terms of Use","modified":"2025-06-25T20:39:04.734Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8f5r-8cmq-7fmq","url":"https://github.com/advisories/GHSA-8f5r-8cmq-7fmq","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:30.619Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3780","url":"https://pkg.go.dev/vuln/GO-2025-3780","licence":"CC-BY-4.0","modified":"2026-07-27T09:11:30.619Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52893","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52893","licence":"Public domain","modified":"2026-06-17T09:37:13.730Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-OPENBAO-2025-52893","url":"https://osv.dev/vulnerability/BIT-OPENBAO-2025-52893","licence":"Apache-2.0","modified":"2026-09-08T08:48:16.648Z"}],"updatedAt":"2026-11-25T22:58:59.603Z","epss":{"score":0.00353,"percentile":0.30966,"date":"2026-12-01T12:00:22.000Z"}}