What’s Vulnerable › Vulnerabilities

CVE-2026-5061: Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack

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

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