Advisory

GHSA-rc54-2g2c-g36g

Also known as: BIT-openbao-2025-62705, CVE-2025-62705, GO-2025-4052

Summary

OpenBao and Vault Leak []byte Fields in Audit Logs

Details

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.

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-22 19:55 UTC
Modified
2026-07-27 09:11 UTC

Affected packages and fixes

github.com/openbao/openbao

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20251022165510-cc2c476bac66 (semver)

Fixed versions

0.0.0-20251022165510-cc2c476bac66

Fix

  • Fixed version 0.0.0-20251022165510-cc2c476bac66
    go get github.com/openbao/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences