Security mailing lists by PureSourceCode

CVE-2025-4166

MEDIUM 6.5CVSS 3.1

Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information

Vault Community and Vault Enterprise Key/Value (kv) Version 2 plugin may unintentionally expose sensitive information in server and audit logs when users submit malformed payloads during secret creation or update operations via the Vault REST API. This vulnerability, identified as CVE-2025-4166, is fixed in Vault Community 1.19.3 and Vault Enterprise 1.19.3, 1.18.9, 1.17.16, 1.16.20.

Published
2 May 2025
Last modified
10 Sep 2026
Assigned by
security@hashicorp.com
NVD status
Analyzed
Weakness
CWE-209
Also known as
BIT-openbao-2025-4166BIT-vault-2025-4166GHSA-gcqf-f89c-68hvGO-2025-3663
Sources
NVDJSONOSV GHSA-gcqf-f89c-68hvJSONOSV GO-2025-3663JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD security@hashicorp.com (Secondary) CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 0.3.0, < 1.16.20 1.16.20
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
>= 0.3.0, < 1.19.3 1.19.3
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.17.0, < 1.17.16 1.17.16
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.18.0, < 1.18.9 1.18.9
NVD hashicorp vault
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
>= 1.19.0, < 1.19.3 1.19.3
NVD openbao openbao
cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*
< 2.2.2 2.2.2
OSV Go github.com/hashicorp/vault >= 0.3.0, < 1.19.3 1.19.3

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 May 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 May 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.