CVE-2026-5061
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
4.7
MEDIUM
CVSS 3.1
EPSS 0.03%
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.
How to fix CVE-2026-5061
To remediate CVE-2026-5061, upgrade the affected package to a fixed version below.
- —upgrade to 0.42.0 or later
Is CVE-2026-5061 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 0.1.0, < 0.42.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |