Skip to content
CVE PROGRAM SOURCE RECORD4.7 Medium

CVE-2026-5061

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

HashiCorp Tooling

Default version status: unaffected

  • 0.1.0 to < 0.42.0affected

References