CVE-2026-14361

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductTooling
PublishedJul 8, 2026
First seenJul 8, 2026

How to fix

Update
  • HashiCorp Tooling0.42.1 or later

Affected products

ProductAffected versionsFixed in
HashiCorp Tooling0.1.0 ≤ v < 0.42.10.42.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.