CVE-2025-62705 OpenBao and Vault Leak []byte Fields in Audit Logs

Medium 5.7 Published Updated

OpenBao fails to redact binary fields in audit logs, potentially exposing sensitive data like public keys or raw secrets to log readers.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-62705?

CVE-2025-62705 is a medium-severity vulnerability in openbao, published on 22 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-532

Which versions are affected by CVE-2025-62705?

4 open source packages ship an affected version, including github.com/openbao/openbao and openbao. It affects 1 product.

PackageAffectedFixed in
github.com/openbao/openbao GoAll versions0.0.0-20251022165510-cc2c476bac66
github.com/openbao/openbao GoAll versions0.0.0-20251022165510-cc2c476bac66
github.com/openbao/openbao GoAll versions0.0.0-20251022165510-cc2c476bac66
openbao BitnamiAll versions2.4.2

Products include Openbao Openbao.

How do I fix CVE-2025-62705?

Upgrade github.com/openbao/openbao to 0.0.0-20251022165510-cc2c476bac66 or later.

Is CVE-2025-62705 being exploited?

There is no known exploitation of CVE-2025-62705 in the wild and no public exploit code.

Sources

Also known as BIT-openbao-2025-62705, GHSA-rc54-2g2c-g36g, GO-2025-4052.

Is CVE-2025-62705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free