CVE-2025-52893: Golang github go viper mapstructure: OpenBao exists to provide a software solution to manage, store
Affects golang-github-go-viper-mapstructureSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 4.5 Medium · fixed in 2.3.0 : update golang-github-go-viper-mapstructure when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.0
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-github-go-viper-mapstructurepkg:deb/ubuntu/golang-github-go-viper-mapstructure?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys. OpenBao before v2.3.0 may leak sensitive information in logs when processing malformed data. This is separate from the earlier HCSEC-2025-09 / CVE-2025-4166. This issue has been fixed in OpenBao v2.3.0 and later. Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
References
- ubuntu.com/security/CVE-2025-52893 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-52893 (opens in a new tab)
- 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 (opens in a new tab)
- github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a (opens in a new tab)
- github.com/go-viper/mapstructure/pull/105 (opens in a new tab)
- github.com/go-viper/mapstructure/releases/tag/v2.3.0 (opens in a new tab)
- github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30 (opens in a new tab)
- github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq (opens in a new tab)