OpenBao and Vault Leak []byte Fields in Audit Logs
Package
Affected versions
< 0.0.0-20251022165510-cc2c476bac66
Patched versions
0.0.0-20251022165510-cc2c476bac66
Description
Published to the GitHub Advisory Database
Oct 22, 2025
Reviewed
Oct 22, 2025
Published by the National Vulnerability Database
Oct 22, 2025
Last updated
Oct 23, 2025
Impact
OpenBao's audit log did not appropriately redact fields when relevant subsystems sent
[]byteresponse parameters rather thanstrings. This includes, but is not limited to:sys/rawwith use ofencoding=base64, all data would be emitted unredacted 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/rawglobally, ensureraw_storage_endpoint=falseis set or missing from the server configuration.References