CVE-2026-14361

published 8 Jul 2026 · updated 8 Jul 2026

Consul-template is vulnerable to path redirection in writeToFile through symlink attack

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Tooling 0.42.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpTooling>=0.1.0 <0.42.10.42.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-14361 severity on Zeptric[![CVE-2026-14361](https://zeptric.io/badge/cve/CVE-2026-14361.svg)](https://zeptric.io/cve/CVE-2026-14361)