What’s Vulnerable › Vulnerabilities
CVE-2026-5061: Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-12 · updated 2026-10-26
- Weakness: CWE-59
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.
Affected products
- HashiCorp Tooling: from 0.1.0 before 0.42.0 — fixed in 0.42.0
How to fix
Upgrade to a fixed version: HashiCorp Tooling 0.42.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-5061 or the next vulnerability affects your stack