CVE-2026-5061Published May 12, 2026 · May 12Updated Oct 28
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
HashiCorp Tooling
Medium4.7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| HashiCorp Tooling 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux |
| No fix yet |
Original description
The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper that may allow reading an out-of-sandbox file. This vulnerability (CVE-2026-5061) is fixed in consul-template 0.42.0.
From the CVE record · HashiCorp