Skip to main content
← All vulnerabilities
CVE-2026-14361

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.42.1
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HashiCorp Tooling

    From 0.1.0 · fixed in 0.42.1

References 2

discuss.hashicorp.com

GitHub · 0xmrma/CVE-2026-14361