CVE-2026-5061
published medium CVSS 3.1 · 4.7Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HashiCorp | — | Tooling0.1.0 to < 0.42.0 · Other versions: unaffected · Platforms: 64 bit, 32 bit, x86, ARM, MacOS, Windows, Linux | Affected | Not stated | HashiCorp |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- HashiCorp · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HashiCorp | Tooling | 0.1.0 to < 0.42.0 (affected · semver)Default: unaffected | HashiCorp · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access (Link Following)
References
1Provider assertions
2HashiCorp · cna
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8a7d2e349e0af966b4f9fbc310da2faf39713756ea97525bcdfc865d4abe749
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record