CVE-2026-14361
published medium CVSS 3.1 · 4.7Consul-template is vulnerable to path redirection in writeToFile through symlink attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HashiCorp | — | Tooling0.1.0 to < 0.42.1 · Other versions: unaffected · Platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux | Affected | Not stated | HashiCorp |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- HashiCorp · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HashiCorp | Tooling | 0.1.0 to < 0.42.1 (affected · semver)Default: unaffected | HashiCorp · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access (Link Following)
References
1Provider assertions
2HashiCorp · cna
Consul-template is vulnerable to path redirection in writeToFile through symlink attack
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 68cd73dac237ec9dced3e3280c73cf347310cc23c8c5810b8df081620fef54b8
- Ingested
- 23 Sep 2026, 09:01:44 UTC
- Source record
- Official CVE record