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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-12 · Modified: 2026-05-12
- Record: https://cvemate.com/vulnerability/CVE-2026-5061 · JSON: https://cvemate.com/vulnerability/CVE-2026-5061/json

## Description

```text
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.
```

## Signals

- CVSS: 4.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.151%, percentile 4.393%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hashicorp tooling: ≥ 0.1.0, \< 0.42.0

## References

- <https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414>

---

Data as of 2026-12-05T10:41:24.386Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
