CVE-2026-5061

published 12 May 2026 · updated 12 May 2026

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

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Tooling 0.42.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpTooling>=0.1.0 <0.42.00.42.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5061 severity on Zeptric[![CVE-2026-5061](https://zeptric.io/badge/cve/CVE-2026-5061.svg)](https://zeptric.io/cve/CVE-2026-5061)