CVE-2025-4166: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin

Published May 2, 2025
·
Updated

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 Software

9 affected componentsFixes available
HashiCorp Vault Community<1.19.3
HashiCorp Vault Enterprise<1.19.3, >=1.18.9<1.19.3, >=1.17.16<1.19.3, >=1.16.20<1.19.3
go/github.com/hashicorp/vault>=0.3.0<1.19.3
1.19.3
HashiCorp Vault>=0.3.0<1.16.20
HashiCorp Vault>=0.3.0<1.19.3
HashiCorp Vault>=1.17.0<1.17.16
HashiCorp Vault>=1.18.0<1.18.9
HashiCorp Vault>=1.19.0<1.19.3
OpenBao OpenBao<2.2.2

Event History

May 2, 2025
CVE Published
via MITRE·02:57 PM
Data Sourced
via MITRE·02:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
Affected Software
Advisory Published
via GitHub·03:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-4166?

CVE-2025-4166 has a medium severity rating due to the potential exposure of sensitive information.

2

How do I fix CVE-2025-4166?

To fix CVE-2025-4166, upgrade to HashiCorp Vault Community or Vault Enterprise version 1.19.4 or later.

3

What versions are affected by CVE-2025-4166?

CVE-2025-4166 affects HashiCorp Vault Community and Enterprise versions up to 1.19.3.

4

What kind of information is exposed in CVE-2025-4166?

CVE-2025-4166 may unintentionally expose sensitive information in server and audit logs.

5

How does CVE-2025-4166 occur?

CVE-2025-4166 occurs when users submit malformed payloads during secret creation or update operations via the Vault REST API.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203