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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.5
- **CVSS:** 4.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-532
- **Aliases:** BIT-openbao-2025-52893, GHSA-8f5r-8cmq-7fmq, GO-2025-3780
- **Published:** 2025-06-25T16:54:50.262Z
- **Modified:** 2026-07-27T09:11:30.619Z

## Who should check

- Projects that depend on Go package github.com/openbao/openbao/sdk/v2 (\< 2.3.0)
- Projects that depend on Go package github.com/openbao/openbao/sdk
- Anyone running openbao \< 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.

## Affected and fixed versions

- Go `github.com/openbao/openbao/sdk/v2`: affected \< 2.3.0; fixed 2.3.0 (osv)
- Go `github.com/openbao/openbao/sdk`: affected see advisory; fixed no fix listed yet (osv)
- openbao: \< 2.3.0 (cvelist)

## Mitigation

- Upgrade github.com/openbao/openbao/sdk/v2 to 2.3.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-52893. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52893.md
Affected: github.com/openbao/openbao/sdk/v2 < 2.3.0; github.com/openbao/openbao/sdk
Fixed in: 2.3.0

Steps:
1. Search this machine and project for github.com/openbao/openbao/sdk/v2 (Go), github.com/openbao/openbao/sdk (Go), openbao: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-52893 being exploited?

There is no confirmed exploitation: CVE-2025-52893 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-52893?

Medium: CVSS 4.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-52893?

github.com/openbao/openbao/sdk/v2 \< 2.3.0; github.com/openbao/openbao/sdk.

### Is there a fix for CVE-2025-52893?

Yes. Fixed in 2.3.0. Upgrade github.com/openbao/openbao/sdk/v2 to 2.3.0 or later.

### How do I check if I'm affected by CVE-2025-52893?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-52893>
- patch: <https://github.com/go-viper/mapstructure/pull/105>
- patch: <https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a>
- patch: <https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30>
- other: <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>
- other: <https://github.com/go-viper/mapstructure/releases/tag/v2.3.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-52893>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8f5r-8cmq-7fmq> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3780> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-52893> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-52893>
