CVE-2025-6000
HashiCorp Vault vulnerability analysis and mitigation

Overview

A critical security vulnerability (CVE-2025-6000) was discovered in HashiCorp Vault that allows privileged Vault operators within the root namespace with write permission to {{sys/audit}} to potentially execute code on the underlying host when a plugin directory is set in Vault's configuration. The vulnerability affects Vault Community Edition versions from 0.8.0 up to 1.20.0 and Vault Enterprise versions from 0.8.0 up to 1.20.0, 1.19.6, 1.18.11, 1.16.22, and 1.15.15 (HashiCorp Discussion).

Technical details

The vulnerability stems from the interaction between Vault's file audit device and plugin functionality. A malicious operator can exploit this by using the file audit device to write arbitrary files to disk, which when combined with plugin registration and usage, enables arbitrary code execution on the host system. While the exploitation requires a SHA256 digest of the file and audit devices have per-device HMAC keys, attackers can potentially reproduce audit file contents and compute the hash using the sys/audit-hash endpoint. The vulnerability has received a CVSS v3.1 base score of 9.1 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (NVD).

Impact

The vulnerability enables privileged Vault operators to execute arbitrary code on the underlying host system, potentially compromising the entire Vault infrastructure. This could lead to complete system compromise, data breaches, and unauthorized access to sensitive information stored within Vault (HashiCorp Discussion).

Mitigation and workarounds

The vulnerability has been patched in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23. The fix includes disabling the prefix option by default for new Audit devices and requiring AllowAuditLogPrefixing to be explicitly set to true in Vault's configuration. Additionally, audit logs destination can no longer be set to the plugin directory (HashiCorp Discussion).

Additional resources


SourceThis report was generated using AI

Related HashiCorp Vault vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-6203HIGH7.5
  • HashiCorp VaultHashiCorp Vault
  • splunk-otel-collector-fips
NoYesAug 28, 2025
CVE-2025-6037MEDIUM6.8
  • HashiCorp VaultHashiCorp Vault
  • cpe:2.3:a:hashicorp:vault
NoYesAug 01, 2025
CVE-2025-6013MEDIUM6.5
  • HashiCorp VaultHashiCorp Vault
  • github.com/hashicorp/vault
NoYesAug 06, 2025
CVE-2025-6016N/AN/A
  • HashiCorp VaultHashiCorp Vault
  • cpe:2.3:a:hashicorp:vault
NoYesAug 07, 2025
CVE-2025-6010MEDIUMN/A
  • HashiCorp VaultHashiCorp Vault
  • cpe:2.3:a:hashicorp:vault
NoYesAug 07, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management