Vulnerabilities

Vulnerability · CVE-2026-14361

HCSEC-2026-20 - Consul-template vulnerable to path redirections in writeToFile

Published Jul 8, 2026 · HashiCorp

Open the advisory

Exploitation likelihood is not on this record for CVE-2026-14361. A missing EPSS score is not a low risk. Compare HashiCorp with the linked advisory before you change production.

Gaps on this record

  • No version range is stored. A customer cannot check an installed version against this record.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
Unknown—
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Not in the current FIRST EPSS dataset
Remediation
Not established
Affected products
HashiCorp

...ile 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. Background The writeToFile template function writes rendered template content to a local file on disk...

No affected version ranges are stored yet. Use the vendor advisory before you decide this record does not apply.

How to fix CVE-2026-14361

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for CVE-2026-14361. A missing EPSS score is not a low risk. Compare HashiCorp with the linked advisory before you change production.

Which versions are affected?

Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS is absent from the current FIRST dataset. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 8, 2026 · HashiCorp Security

    Detected

    ...ile 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. Background The writeToFile template function writes rendered template content to a local file on disk...

Sources

  • CVE.orgVulnerability recordCVE-2026-14361

    Official CVE identifier

    cve.org
  • HashiCorp SecurityVendor advisoryCVE-2026-14361

    ...ile 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. Background The writeToFile template function writes rendered template conte

    discuss.hashicorp.com

Freshness

Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.