CVE-2026-5061 Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
MediumCVSS 4.7
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hashicorp Tooling | >= 0.1.0, < 0.42.0 | 0.42.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp Tooling | >= 0.1.0, < 0.42.0 | 0.42.0 |