CVE-2025-4166
published 2025-05-02CVE-2025-4166: Vault Community and Vault Enterprise Key/Value (kv) Version 2 plugin may unintentionally expose sensitive information in server and audit logs when users…
PriorityP434medium6.5CVSS 3.1
AVNACLPRNUIRSUCHINAN
EPSS
0.34%
25.3th percentile
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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | hashicorp_vault | >= 0.3.0 < 1.19.3 | 1.19.3 |
| github.com | openbao_openbao_sdk_v2 | >= 0 < 2.3.0 | 2.3.0 |
| hashicorp | vault | >= 0.3.0 < 1.16.20 | 1.16.20 |
| hashicorp | vault | >= 0.3.0 < 1.19.3 | 1.19.3 |
| hashicorp | vault | >= 1.17.0 < 1.17.16 | 1.17.16 |
| hashicorp | vault | >= 1.18.0 < 1.18.9 | 1.18.9 |
| hashicorp | vault | >= 1.19.0 < 1.19.3 | 1.19.3 |
| msrc | cbl2_vim_8.2.4081-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_8.2.4006-1_on_cbl_mariner_1.0 | — | — |
| openbao | openbao | < 2.3.0 | 2.3.0 |
| openbao | openbao | < 2.2.2 | 2.2.2 |
| openbao | openbao | < 2.3.0 | 2.3.0 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
ghsa6.5MEDIUM
osv6.5MEDIUM
vendor_msrc7.1HIGH
vendor_redhat4.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
OpenBao Inserts Sensitive Information into Log File when processing malformed data
ghsa·2025-06-26·CVSS 6.5
CVE-2025-52893 [MEDIUM] CWE-532 OpenBao Inserts Sensitive Information into Log File when processing malformed data
OpenBao Inserts Sensitive Information into Log File when processing malformed data
### Impact
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.
### Patches
This issue has been fixed in OpenBao v2.3.0 and later.
### Workarounds
Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
### Remediation
Users with the capability to search through server and audit logs for any possible exposed secrets can refer to the following snippets to aid in searching:
Audit Log
```
... "error":"error converting input for field \"password\": expected type 'string', got unconvertible type
OSV
OpenBao Inserts Sensitive Information into Log File when processing malformed data
osv·2025-06-26·CVSS 6.5
CVE-2025-52893 [MEDIUM] OpenBao Inserts Sensitive Information into Log File when processing malformed data
OpenBao Inserts Sensitive Information into Log File when processing malformed data
### Impact
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.
### Patches
This issue has been fixed in OpenBao v2.3.0 and later.
### Workarounds
Like with HCSEC-2025-09, there is no known workaround except to ensure properly formatted requests from all clients.
### Remediation
Users with the capability to search through server and audit logs for any possible exposed secrets can refer to the following snippets to aid in searching:
Audit Log
```
... "error":"error converting input for field \"password\": expected type 'string', got unconvertible type
OSV
CVE-2025-52893: OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys
osv·2025-06-25·CVSS 6.5
CVE-2025-52893 [MEDIUM] CVE-2025-52893: OpenBao exists to provide a software solution to manage, store, and distribute sensitive data including secrets, certificates, and keys
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.
OSV
Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault
osv·2025-05-06
CVE-2025-4166 Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault
Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault
Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault
OSV
Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
osv·2025-05-02·CVSS 6.5
CVE-2025-4166 [MEDIUM] Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
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.
GHSA
Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
ghsa·2025-05-02·CVSS 6.5
CVE-2025-4166 [MEDIUM] CWE-209 Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
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.
Red Hat
vault: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
vendor_redhat·2025-05-02·CVSS 4.5
CVE-2025-4166 [MEDIUM] CWE-209 vault: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
vault: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
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.
A flaw was found in the Hashicorp Vault component. 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. When creating or updating secr
Microsoft
Out-of-bounds Read in vim/vim
vendor_msrc·2021-12-14·CVSS 7.1
CVE-2021-4166 [HIGH] CWE-125 Out-of-bounds Read in vim/vim
Out-of-bounds Read in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-05-02
Published