Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocal user access
-
DeliveryCreate malicious symlink in template directory
-
ExploitInvoke template rendering
-
ExecutionFile helper resolves symlink
-
PersistReads out-of-sandbox file
-
ImpactExtracts sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires: (1) local system access with valid user authentication (PR:L per CVSS vector), (2) ability to create symbolic links in or near the template working directory, (3) knowledge of the sandbox boundary or file paths to be exfiltrated, and (4) the file template helper must be in use by the consul-template configuration. Exploitation does NOT require network access or user interaction (AC:H reflects the deliberate symlink setup required rather than automatic trigger). Environments where only trusted administrators have local access, where filesystem permissions prevent symlink creation, or where the file template helper is not used are not affected. |
| Impact | CVSS 4.7 with local attack vector (AV:L), high complexity (AC:H), and low privilege requirement (PR:L) indicates moderate real-world risk. The vulnerability is limited to authenticated local users and requires deliberate symlink manipulation, reducing spontaneous exploitation likelihood. High confidentiality impact (C:H) is significant for environments where sensitive files are co-located with templates. Absence of EPSS score, KEV status, and POC data in provided intelligence means active exploitation is not confirmed; however, symlink-based sandbox bypasses are a known attack pattern. Risk is primarily relevant to environments where untrusted local users share access to consul-template instances or where template rendering is exposed to local privilege escalation chains. The high complexity requirement (AC:H) suggests an attacker must either craft specific filesystem conditions or possess detailed knowledge of the sandbox implementation, limiting opportunistic exploitation. |
| Exploit ScenarioDerived | A local authenticated user with low privileges on a system running consul-template creates a symbolic link within or accessible to the template sandbox that points to a sensitive file outside the sandbox (e.g., /etc/passwd or application configuration containing credentials). When the file template helper processes the symlink, the insufficient link resolution validation allows the user to read the out-of-sandbox file content, bypassing the intended sandbox restriction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Sandbox path bypass in consul-template before 0.42.0 allows local authenticated users to read files outside the intended sandbox via symlink attack in the file template helper. The vulnerability requires local access and elevated privileges but grants high confidentiality impact. Vendor-released patch available in version 0.42.0.
RemediationAI
Upgrade consul-template to version 0.42.0 or later immediately. This is the vendor-released patch that resolves the symlink-based sandbox bypass. Organizations unable to upgrade immediately should restrict local user access to systems running consul-template and disable file template helper functionality if not required for operations. Additionally, enforce strict filesystem permissions to prevent untrusted users from creating symlinks in directories where templates are rendered or where template input files are stored. Monitor template execution logs for suspicious file access patterns or symlink traversal attempts. Note that restricting the file helper may impact template functionality, so coordinate with application teams before implementing this control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
consul-template is a HashiCorp tool that manages template rendering using data from Consul. The file template helper function implements a sandbox mechanism intended to restrict file access to a designated directory. The vulnerability exploits improper handling of symlinks (CWE-59: Improper Link Resolution Before File Access, a.k.a. 'link following' or 'symlink race') in the file helper, allowing an authenticated local user to bypass sandbox restrictions by crafting symlink paths that traverse outside the sandbox boundary. The CPE identifies the HashiCorp tooling product suite, and the specific vulnerability affects the templating library's file access control logic.
Know when Tooling gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (HashiCorp) · only source for this CVE.
CVSS VectorVendor: HashiCorp
Lifecycle Timeline
2DescriptionCVE.org
The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper that may allow reading an out-of-sandbox file. This vulnerability (CVE-2026-5061) is fixed in consul-template 0.42.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Credential reuse in Terraform MCP Server allows cross-tenant token leakage, enabling unauthorized tool execution on beha
Cross-session token leakage in HashiCorp consul-mcp-server 0.1.0 through 0.1.3 allows one client's Consul authentication
Cross-namespace authorization bypass in HashiCorp consul-k8s 0.42.0 and later can let an attacker with an existing low-p
Arbitrary file read in HashiCorp Vault Secrets Operator versions 1.3.0 through 1.4.1 lets a low-privileged Kubernetes te
Authorization bypass in HashiCorp's terraform-mcp-server (versions 0.3.0 through 1.0.x) lets an attacker who obtains ano
Server-side request forgery in HashiCorp terraform-mcp-server before 1.1.0 allows unauthenticated remote attackers to re
Server-Side Request Forgery in HashiCorp's consul-mcp-server 0.1.0 through 0.1.3 lets a connected client override the se
Vault secret values leak into error messages, log output, and Nomad task events in HashiCorp consul-template due to impr
Arbitrary file read vulnerability in HashiCorp go-getter library versions up to 1.8.5 enables unauthenticated remote att
EUVD-2026-29483
GHSA-m633-g3vp-7qw3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB