{"id":"CVE-2025-62705","aliases":["GHSA-rc54-2g2c-g36g","BIT-openbao-2025-62705","GO-2025-4052"],"title":"OpenBao and Vault Leak []byte Fields in Audit Logs ","summary":"OpenBao and Vault Leak []byte Fields in Audit Logs ","severity":"medium","vendor":"openbao","product":"github.com/openbao/openbao","ecosystem":"go","affected":["github.com/openbao/openbao < 0.0.0-20251022165510-cc2c476bac66"],"patched":["github.com/openbao/openbao 0.0.0-20251022165510-cc2c476bac66"],"published":"2025-10-22","updated":"2026-07-27","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-rc54-2g2c-g36g","references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-rc54-2g2c-g36g"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62705"},{"url":"https://github.com/openbao/openbao/commit/cc2c476bac66e1d94776c2629793daec3af625f8"},{"url":"https://github.com/openbao/openbao"}],"tags":["osv","go"],"epss":0.00309,"epssPercentile":0.23843,"ingestedAt":"2026-07-27T19:08:55.058Z","slug":"CVE-2025-62705","body":"## Overview\n\n### Impact\n\nOpenBao's audit log did not appropriately redact fields when relevant subsystems sent `[]byte` response parameters rather than `string`s. This includes, but is not limited to:\n\n- `sys/raw` with use of `encoding=base64`, all data would be emitted unredacted to the audit log.\n- Transit, when performing a signing operation with a derived Ed25519 key, would emit public keys to the audit log.\n\nThird-party plugins may be affected.\n\nThis issue has been present since HashiCorp Vault and continues to impact Vault as of v1.20.4. \n\n### Patches\n\nOpenBao v2.4.2 will patch this issue.\n\n### Workarounds\n\nIf 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.\n\n## Affected packages\n\n- `github.com/openbao/openbao < 0.0.0-20251022165510-cc2c476bac66`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/openbao/openbao 0.0.0-20251022165510-cc2c476bac66`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}