What’s Vulnerable › Vulnerabilities
CVE-2026-14361: Consul-template is vulnerable to path redirection in writeToFile through symlink attack
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-08 · updated 2026-10-25
- Weakness: CWE-59
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.
Affected products
- HashiCorp Tooling: from 0.1.0 before 0.42.1 — fixed in 0.42.1
How to fix
Upgrade to a fixed version: HashiCorp Tooling 0.42.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-14361 or the next vulnerability affects your stack