CVE-2025-6000: CWE-94: Improper Control of Generation of Code (Code Injection) in HashiCorp Vault
CVE-2025-6000 is a critical code injection vulnerability in HashiCorp Vault that allows a privileged Vault operator with write permission to the sys/audit path in the root namespace to execute arbitrary code on the underlying host if a plugin directory is configured. This vulnerability affects certain versions of Vault and has been fixed in multiple patched releases.
AI Analysis
Technical Summary
This vulnerability (CWE-94) arises from improper control of code generation in HashiCorp Vault. A privileged operator with write access to {{sys/audit}} in the root namespace can exploit this flaw to achieve code execution on the host system when Vault is configured with a plugin directory. The issue is addressed in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
Potential Impact
Successful exploitation allows a privileged Vault operator to execute arbitrary code on the underlying host, potentially compromising confidentiality, integrity, and availability of the system. The CVSS v3.1 score of 9.1 reflects the critical nature of this vulnerability with network attack vector, low attack complexity, and high privileges required.
Mitigation Recommendations
A fix is available and has been released in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23. Users should upgrade to these versions or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official patches.
CVE-2025-6000: CWE-94: Improper Control of Generation of Code (Code Injection) in HashiCorp Vault
Description
CVE-2025-6000 is a critical code injection vulnerability in HashiCorp Vault that allows a privileged Vault operator with write permission to the sys/audit path in the root namespace to execute arbitrary code on the underlying host if a plugin directory is configured. This vulnerability affects certain versions of Vault and has been fixed in multiple patched releases.
CVSS v3.1
Score 9.1critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-94) arises from improper control of code generation in HashiCorp Vault. A privileged operator with write access to {{sys/audit}} in the root namespace can exploit this flaw to achieve code execution on the host system when Vault is configured with a plugin directory. The issue is addressed in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
Potential Impact
Successful exploitation allows a privileged Vault operator to execute arbitrary code on the underlying host, potentially compromising confidentiality, integrity, and availability of the system. The CVSS v3.1 score of 9.1 reflects the critical nature of this vulnerability with network attack vector, low attack complexity, and high privileges required.
Mitigation Recommendations
A fix is available and has been released in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23. Users should upgrade to these versions or later to remediate this vulnerability. No additional mitigation steps are indicated beyond applying the official patches.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- HashiCorp
- Date Reserved
- 2025-06-11T14:38:13.583Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 688cfdc0ad5a09ad00cae4cc
Added to database: 08/01/2025, 17:47:44 UTC
Last enriched: 09/08/2026, 13:08:26 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 467
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.