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.

Project Subscriptions

Vendors Products
Hashicorp Subscribe
Consul Template Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 12 May 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Hashicorp
Hashicorp consul Template
Vendors & Products Hashicorp
Hashicorp consul Template

Tue, 12 May 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 12 May 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: HashiCorp

Published:

Updated: 2026-05-12T15:43:01.985Z

Reserved: 2026-03-27T18:27:28.875Z

Link: CVE-2026-5061

cve-icon Vulnrichment

Updated: 2026-05-12T15:42:58.140Z

cve-icon NVD

Status : Received

Published: 2026-05-12T15:16:16.343

Modified: 2026-05-12T15:16:16.343

Link: CVE-2026-5061

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-12T17:00:10Z

Weaknesses