CVE-2026-5061
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
- State
- Published
- Severity
- 4.7 Medium
- Published
- May 12, 2026
- Updated
- May 12, 2026
- Reserved
- Mar 27, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | HashiCorp |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access (Link Following)
Affected Products
| Product | Versions |
|---|---|
ToolingHashiCorp |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.