Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openbao/openbao
  4. ›
  5. CVE-2025-62705

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

October 22, 2025 (updated October 23, 2025)

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.

References

  • github.com/advisories/GHSA-rc54-2g2c-g36g
  • github.com/openbao/openbao
  • github.com/openbao/openbao/commit/cc2c476bac66e1d94776c2629793daec3af625f8
  • github.com/openbao/openbao/security/advisories/GHSA-rc54-2g2c-g36g
  • nvd.nist.gov/vuln/detail/CVE-2025-62705

Code Behaviors & Features

Detect and mitigate CVE-2025-62705 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20251022165510-cc2c476bac66

Fixed versions

  • 0.0.0-20251022165510-cc2c476bac66

Solution

Upgrade to version 0.0.0-20251022165510-cc2c476bac66 or above.

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

go/github.com/openbao/openbao/CVE-2025-62705.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 07 Nov 2025 12:19:14 +0000.