CVE-2026-14361CWE-59

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

Medium · published July 8, 2026

CVSS v3.1
4.7
EPSS
0%
Percentile
2.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00133 · 2.6th percentile
Weakness
CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-07-08T20:11Z
EPSS history
Timeline
  • 08 JUL 20:11Z
    Consul-template is vulnerable to path redirection in writeToFile through symlink attack
    cvelistv5