Skip to main content
EPSS 0.9%top 42%

CVE-2025-6000: CWE-94: Improper Control of Generation of Code (Code Injection) in HashiCorp Vault

0
Critical
Published: 08/05/2025 (08/05/2025, 08:52:55 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected software

Affected versions
=0.8.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:08:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses