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

CVE-2025-52893: OpenBao Inserts Sensitive Information into Log File when processing malformed data

June 26, 2025 (updated June 30, 2025)

OpenBao before v2.3.0 and HashiCorp Vault as of the current v1.19.5 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166.

References

  • discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-when-processing-malformed-data-with-the-kv-v2-plugin/74717
  • github.com/advisories/GHSA-8f5r-8cmq-7fmq
  • github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a
  • github.com/go-viper/mapstructure/pull/105
  • github.com/go-viper/mapstructure/releases/tag/v2.3.0
  • github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30
  • github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq
  • nvd.nist.gov/vuln/detail/CVE-2025-52893

Code Behaviors & Features

Detect and mitigate CVE-2025-52893 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 2.3.0

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Impact 4.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

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

Source file

go/github.com/openbao/openbao/sdk/v2/framework/CVE-2025-52893.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 12 Dec 2025 12:19:04 +0000.