CVE-2025-62705: OpenBao and Vault Leak []byte Fields in Audit Logs
Impact OpenBao's audit log did not appropriately redact fields when relevant subsystems sent []byte response parameters rather than strings. 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.
Published Oct 22, 2025 · Updated Oct 23, 2025
Affected packages
github.com/openbao/openbao
- Ecosystem
- Go
- Affected
- < 0.0.0-20251022165510-cc2c476bac66
- Fixed in
- 0.0.0-20251022165510-cc2c476bac66
- Check
go list -m github.com/openbao/openbao
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
OpenBao's audit log did not appropriately redact fields when relevant subsystems sent []byte response parameters rather than strings. This includes, but is not limited to:
sys/rawwith use ofencoding=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.
Credited to phil9909, satoqz.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-63131
OpenBao Skips Stricter Deny Policy for LIST operations
medium6.0No fixSep 22, 2026CVE-2026-63132
OpenBao's Recovery Mode Vulnerable To Token Leakage via Timing Attack
critical9.1No fixSep 22, 2026CVE-2026-71543
OpenBao's Templated Policies Allow Privilege Escalation via Wildcard Characters
high7.5No fixSep 22, 2026CVE-2026-77285
OpenBao Agent Writes Secrets to Stdout
low2.4No fixSep 22, 2026CVE-2026-55770
OpenBao: LDAPi ldaputil (wrong escape func)
medium6.8No fixJun 19, 2026CVE-2026-55774
OpenBao: Cross-namespace lease revocation/renewal via canonical sys/leases/{revoke,renew} — incomplete fix of CVE-2026-45808
low2.1No fixJun 19, 2026
