CVE-2026-5061
Medium
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.
SeverityMedium
CVSS4.7
Exploit probability—
ProductTooling
PublishedMay 12, 2026
First seenMay 12, 2026
Weakness typeCWE-59Improper link resolution
How to fix
Update
- HashiCorp Tooling0.42.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| HashiCorp Tooling | 0.1.0 ≤ v < 0.42.0 | 0.42.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.