HashiCorpCVE-2026-14361
HashiCorp Tooling: link following
Fix: upgrade to 0.42.1 or later
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Tooling Product | >= 0.1.0, < 0.42.1 | 0.42.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-59