CVE-2026-14361 Consul-template is vulnerable to path redirection in writeToFile through symlink attack
MediumCVSS 4.7
EPSS 0.13%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hashicorp Tooling | >= 0.1.0, < 0.42.1 | 0.42.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp Tooling | >= 0.1.0, < 0.42.1 | 0.42.1 |