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.
https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414
Source: Mitre, NVD
Published: 2026-05-12
Updated: 2026-05-13
Base Score: 3.8
Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:N/A:N
Severity: Low
Base Score: 4.7
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Severity: Medium
EPSS: 0.00018