OpenBao and Vault Leak []byte Fields in Audit Logs
MediumCVE-2025-62705 · Published Oct 22, 2025 · updated Jul 27, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/openbao/openbao Go | < 0.0.0-20251022165510-cc2c476bac66 | 0.0.0-20251022165510-cc2c476bac66 |
Details and references
### Impact OpenBao's audit log did not appropriately redact fields when relevant subsystems sent `[]byte` response parameters rather than `string`s. This includes, but is not limited to: - `sys/raw` with use of `encoding=base64`, all data would be emitted unredacted to the audit log. - Transit, when performing a signing operation with a derived Ed25519 key, would emit public keys to the audit log. Third-party plugins may be affected. This issue has been present since HashiCorp Vault and continues to impact Vault as of v1.20.4. ### Patches OpenBao v2.4.2 will patch this issue. ### Workarounds If users do not use the above functionality, they are not impacted. To prohibit the use of `sys/raw` globally, ensure `raw_storage_endpoint=false` is set or missing from the server configuration.
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-532
- Also known as
- BIT-openbao-2025-62705, CVE-2025-62705, GO-2025-4052
More openbao advisories
All| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Oct 222025 | OpenBao leaks HTTPRawBody in Audit Logs CVE-2025-62513Mediumfixed in 0.0.0-20251022165510-cc2c476bac66 | Medium | 0.0.0-20251022165510-cc2c476bac66 |
| Oct 172025 | OpenBao has potential Denial of Service vulnerability when processing malicious unauthenticated JSON requests CVE-2025-59043High7.5fixed in 2.4.1 | High7.5 | 2.4.1 |
| Nov 242025 | OpenBao is Vulnerable to Privileged Operator Identity Group Root Escalation CVE-2025-64761Highfixed in 2.4.4 | High | 2.4.4 |
| Aug 82025 | OpenBao LDAP MFA Enforcement Bypass When Using Username As Alias CVE-2025-55001Medium6.5fixed in 0.0.0-20250807212521-c52795c1ef74, 2.3.2 | Medium6.5 | 0.0.0-20250807212521-c52795c1ef74, 2.3.2 |
| Aug 82025 | OpenBao Login MFA Bypass of Rate Limiting and TOTP Token Reuse CVE-2025-55003Medium5.7fixed in 0.0.0-20250807113757-8340a6918f6c, 2.3.2 | Medium5.7 | 0.0.0-20250807113757-8340a6918f6c, 2.3.2 |
| Aug 82025 | OpenBao TOTP Secrets Engine Code Reuse CVE-2025-55000Medium6.5fixed in 0.0.0-20250806193153-183891f8d535, 2.3.2 | Medium6.5 | 0.0.0-20250806193153-183891f8d535, 2.3.2 |