Skip to content

HashiCorp Vault

Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin

CVE-2025-4166Published 2 May 2025, 14:57 UTC

Real-world risk

1.0/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.5

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from HashiCorp)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
HashiCorp VaultWidespread>= 0.3.0, < 1.19.2; >= 0.10.0, < 1.19.21.19.2

What to do

Update to a fixed version: 1.19.2.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.5% chance of exploitation in 30 days (percentile 42), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.140
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.14 × threat 0.850.952
  4. Rounded to one decimal between 0.1 and 101.0

How the score works

Exploitation and evidence timeline

  1. 2 May 2025 Published
  2. 3 Dec 2026 Risk 1.0 (cvss fallback)

Weakness

CWE-209

References

Get alerts for HashiCorp Vault

Free email or text alerts when a vulnerability in HashiCorp Vault reaches risk 8 or higher. Nothing else.