Medium severity · published May 12, 2026
CVE-2026-5061
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
4.7
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TO
Tooling · HashiCorp
0.1.0 before 0.42.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-5061
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-5061
discuss.hashicorp.com
https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414
More from Tooling
10.0
CVE-2026-16326
consul-mcp-server vulnerable to cross-tenant credential reuse in streamable-HTTP stateless mode
10.0
CVE-2026-16498
terraform-mcp-server vulnerable to cross-tenant credential reuse in streamable-HTTP stateless mode
9.9
CVE-2026-110720
Consul-k8s vulnerable to a cross-namespace authorization bypass in component ACL binding rules
9.8
CVE-2025-13357
Vault Terraform Provider Applied Incorrect Defaults for LDAP Auth Method
9.6
CVE-2026-8715
Vault Secrets Operator vulnerable to arbitrary file read and credential exfiltration via AppRole secretIDPath
