CVE-2025-62705: GO-2025-4052 - OpenBao and Vault Leak []byte Fields in Audit Logs in github.com/openbao/openbao
CVE-2025-62705 · Severity: medium · CVSS 4.9 · Published 2025-10-22
OpenBao is an open source identity-based secrets management system. Prior to version 2.4.2, 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, and Transit, when performing a signing operation with a derived Ed25519 key, would emit public keys to the audit log. This issue has been patched in OpenBao 2.4.2.
Yes. github.com/openbao/openbao (Go): upgrade to 0.0.0-20251022165510-cc2c476bac66 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-62705?
Check whether you run github.com/openbao/openbao (Go) or OpenBao at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
github.com/openbao/openbao (Go): upgrade to 0.0.0-20251022165510-cc2c476bac66 or later
go get github.com/openbao/openbao@v0.0.0-20251022165510-cc2c476bac66