CVE Catalog

CVE-2026-5061

MediumCVSS 4.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper, potentially allowing reading of a file outside the sandbox. This vulnerability is fixed in consul-template 0.42.0.

Risk Assessment

An attacker able to influence templates may read files outside the permitted directory, potentially exposing sensitive data such as secrets or configurations. This may lead to privilege escalation or information leakage.

Recommendation

Update consul-template to version 0.42.0 or later. Restrict template modification to trusted users and review configurations for unauthorized changes.

Other vulnerabilities in consul-template

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS