CVE-2025-62705
JSON

5.7medium

OpenBao and Vault Leak []byte Fields in Audit Logs

Severity
5.7medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-rc54-2g2c-g36gBIT-OPENBAO-2025-62705GO-2025-4052

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.

Affected

Product or packageVersionsReported by
openbao openbao< 2.4.2, before 2.4.2CVE List, NVD
github.com/openbao/openbao (Go)before 0.0.0-20251022165510-cc2c476bac66GitHub Advisory Database, Go Vulnerability Database
openbao (Bitnami)before 2.4.2Bitnami Vulnerability Database

All scores

GitHub_M5.7medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

Go Vulnerability Database

OpenBao and Vault Leak []byte Fields in Audit Logs in github.com/openbao/openbao

NVD (es)

OpenBao es un sistema de gestión de secretos de código abierto basado en identidad. Antes de la versión 2.4.2, el registro de auditoría de OpenBao no redactaba apropiadamente los campos cuando los subsistemas relevantes enviaban parámetros de respuesta de tipo []byte en lugar de cadenas de texto. Esto incluye, pero no se limita a sys/raw con el uso de encoding=base64, donde todos los datos se emitirían sin redactar al registro de auditoría, y Transit, al realizar una operación de firma con una clave Ed25519 derivada, emitiría claves públicas al registro de auditoría. Este problema ha sido parcheado en OpenBao 2.4.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-62705 changed 2025-10-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-rc54-2g2c-g36g changed 2026-07-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4052 changed 2026-07-27CC-BY-4.0
NVDCVE-2025-62705 changed 2026-10-19Public domain
Bitnami Vulnerability DatabaseBIT-OPENBAO-2025-62705 changed 2026-09-08Apache-2.0