{"schemaVersion":3,"id":"CVE-2025-52893","aliases":["UBUNTU-CVE-2025-52893","GHSA-8f5r-8cmq-7fmq","BIT-openbao-2025-52893","GO-2025-3780"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-06-25T16:54:50.262Z","modified":"2025-06-25T20:39:04.734Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","exploitability":2.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","exploitability":2.3,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00327,"percentile":0.24279,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.022999999999999972,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00304},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00327,"percentile":0.24279}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00327,"percentile":0.24279}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File","description":"The product writes sensitive information to a log file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/532.html"}],"affected":[{"vendor":"ubuntu","product":"golang-github-go-viper-mapstructure","name":"golang-github-go-viper-mapstructure","label":"golang-github-go-viper-mapstructure","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-go-viper-mapstructure","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/openbao/openbao","product":"sdk","name":"github.com/openbao/openbao/sdk","label":"sdk","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/openbao/openbao/sdk","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/openbao/openbao/sdk","product":"v2","name":"github.com/openbao/openbao/sdk/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/openbao/openbao/sdk/v2","purlType":"golang","versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0","eol":null,"hubHref":null},{"vendor":"openbao","product":"openbao","name":"openbao","label":"openbao","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"openbao","label":"OpenBao","category":"server-app"}},"hubHref":"/vendor/openbao/openbao"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq","label":"github.com/openbao/openbao/security/advisories/GHSA-8f5r-8cmq-7fmq","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/go-viper/mapstructure/pull/105","label":"github.com/go-viper/mapstructure/pull/105","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Not Applicable"]},{"url":"https://github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a","label":"github.com/go-viper/mapstructure/commit/ed3f92181528ff776a0324107b8b55026e93766a","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Not Applicable"]},{"url":"https://github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30","label":"github.com/openbao/openbao/commit/cf5e920badbf96b41253534a3fd5ff5063bf4b30","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch"]},{"url":"https://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","label":"discuss.hashicorp.com/t/…","hostname":"discuss.hashicorp.com","tags":["X Refsource MISC","REPORT","WEB","Not Applicable"]},{"url":"https://github.com/go-viper/mapstructure/releases/tag/v2.3.0","label":"github.com/go-viper/mapstructure/releases/tag/v2.3.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Not Applicable"]},{"url":"https://ubuntu.com/security/CVE-2025-52893","label":"ubuntu.com/security/CVE-2025-52893","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-52893","label":"www.cve.org/CVERecord?id=CVE-2025-52893","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52893","label":"nvd.nist.gov/vuln/detail/CVE-2025-52893","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15254-1","OPENSUSE-SU-2025:15405-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15254-1","OPENSUSE-SU-2025:15405-1"]},"timeline":[{"kind":"published","date":"2025-06-25T16:54:50.262Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-25T20:39:04.734Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:13:45.116Z","stale":false,"partial":false}}