CVE-2026-5006

Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths

MEDIUM
6.8
CVSS Score
Published: August 24, 2026 at 08:32 PM UTC
Updated: October 12, 2026 at 09:10 PM UTC
1 product affected across 1 vendorVault

Using Vault by HashiCorp?

Get instant alerts when new vulnerabilities affect Vault - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

A vulnerability was identified in HashiCorp Vault and Vault Enterprise (“Vault”) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths. An attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy. This vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.11.0 ≤ v < 2.0.40.11.0
Affected range stops below 2.0.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.8MEDIUMHashiCorp
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-639

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card