CVE-2026-5061

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

MEDIUM
4.7
CVSS Score
Published: May 12, 2026 at 01:58 PM UTC
Updated: October 26, 2026 at 06:10 PM UTC
1 product affected across 1 vendorTooling

Using Tooling by HashiCorp?

Get instant alerts when new vulnerabilities affect Tooling - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.1.0 ≤ v < 0.42.00.1.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.7MEDIUMHashiCorp
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card