CVE-2026-5061 MEDIUM

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

Vendor Hashicorp
Product Tooling
Weakness CWE-59
Published May 12, 2026
Last update May 12, 2026

CVSS base score

4.7/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 12, 2026 CVE published
May 12, 2026 Record updated