CVE-2026-14361

MEDIUM

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 4.7
EPSS 0.0010
EPSS Percentile 1.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-59
Status published
Products (1)
HashiCorp/Tooling 0.1.0 - 0.42.1
Published Jul 08, 2026
Tracked Since Jul 09, 2026