Medium severity · published Jul 8, 2026
CVE-2026-14361
Consul-template is vulnerable to path redirection in writeToFile through symlink attack
4.7
CVSS
0.1%
EPSS
No
On KEV
Description
The consul-template library before version 0.42.1 is vulnerable to a path redirection issue in the writeToFile template helper that may allow template output to be written outside the intended directory or to overwrite an existing file. This vulnerability (CVE-2026-14361) is fixed in consul-template 0.42.1.
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.1% · higher than 3% 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.1 · source: vendor
Affected product
TO
Tooling
HashiCorp
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.6
CVE-2026-8715
Vault Secrets Operator vulnerable to arbitrary file read and credential exfiltration via AppRole secretIDPath
8.9
CVE-2026-16496
terraform-mcp-server vulnerable to cross-user credential inheritance if an MCP session ID is obtained by another user