CVE-2025-4166: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
First published: Fri May 02 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.
Credit: security@hashicorp.com
Affected Software | Affected Version | How to fix |
---|
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 |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2025-4166?
CVE-2025-4166 has a medium severity rating due to the potential exposure of sensitive information.
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.
What versions are affected by CVE-2025-4166?
CVE-2025-4166 affects HashiCorp Vault Community and Enterprise versions up to 1.19.3.
What kind of information is exposed in CVE-2025-4166?
CVE-2025-4166 may unintentionally expose sensitive information in server and audit logs.
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.
- collector/mitre-cve
- source/MITRE
- agent/title
- agent/type
- agent/weakness
- agent/description
- agent/first-publish-date
- agent/guess-ai
- agent/software-canonical-lookup
- agent/software-canonical-lookup-request
- collector/nvd-api
- source/NVD
- agent/author
- agent/severity
- collector/github-advisory-latest
- source/GitHub
- alias/GHSA-gcqf-f89c-68hv
- alias/CVE-2025-4166
- agent/references
- agent/last-modified-date
- agent/softwarecombine
- agent/event
- collector/nvd-cve
- collector/epss-latest
- source/FIRST
- agent/source
- agent/epss
- agent/tags
- vendor/hashicorp
- canonical/hashicorp vault community
- canonical/hashicorp vault enterprise
- package-manager/go
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203