CVE-2026-5061

MEDIUM

Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack

Title source: cna
STIX 2.1

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 v3 4.7
EPSS 0.0002
EPSS Percentile 5.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-59
Status published
Products (1)
HashiCorp/Tooling 0.1.0 - 0.42.0
Published May 12, 2026
Tracked Since May 12, 2026