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 package | Versions | Reported by |
|---|---|---|
| openbao openbao | < 2.4.2, before 2.4.2 | CVE List, NVD |
| github.com/openbao/openbao (Go) | before 0.0.0-20251022165510-cc2c476bac66 | GitHub Advisory Database, Go Vulnerability Database |
| openbao (Bitnami) | before 2.4.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.7medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
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/rawwith use ofencoding=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
| https://github.com/openbao/openbao/security/advisories/GHSA-rc54-2g2c-g36g | advisory, patch, vendor-advisory, web | |
| https://github.com/openbao/openbao/commit/cc2c476bac66e1d94776c2629793daec3af625f8 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-62705 | advisory, web | |
| https://github.com/openbao/openbao | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-62705 changed 2025-10-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rc54-2g2c-g36g changed 2026-07-27 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4052 changed 2026-07-27 | CC-BY-4.0 |
| NVD | CVE-2025-62705 changed 2026-10-19 | Public domain |
| Bitnami Vulnerability Database | BIT-OPENBAO-2025-62705 changed 2026-09-08 | Apache-2.0 |