Vendors › HashiCorp

HCSEC-2026-20

Medium (4.7) EPSS 0.1% HashiCorp · Consul

Consul-template vulnerable to path redirections in writeToFile

Consul-template's writeToFile helper followed path redirections, so a crafted template could write outside the intended directory. Fixed in consul-template 0.42.1.

Published2026-07-08
Updated2026-07-08
AffectedConsul-template up to and including 0.42.0
FixUpgrade to Consul-template 0.42.1.
Vendor advisoryhttps://discuss.hashicorp.com/t/hcsec-2026-20-consul-template-vulnerable-to-path-redirections-in-writetofile/77559

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-14361CWE-59OtherOtherNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.