CVE Explorer
CVE-2026-5061
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"product":"Tooling","repo":"https://github.com/hashicorp/consul-template","vendor":"HashiCorp","versions":[{"lessThan":"0.42.0","status":"affected","version":"0.1.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:df1636ae57ff60198c47c3a889685964fa713ca5ff069abad32545f43cf62c53 · sha256:3d6d1c5d2d1a2fd9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":4.7,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:df1636ae57ff60198c47c3a889685964fa713ca5ff069abad32545f43cf62c53 · sha256:3d6d1c5d2d1a2fd9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access (Link Following)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:df1636ae57ff60198c47c3a889685964fa713ca5ff069abad32545f43cf62c53 · sha256:3d6d1c5d2d1a2fd9… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:df1636ae57ff60198c47c3a889685964fa713ca5ff069abad32545f43cf62c53 · sha256:3d6d1c5d2d1a2fd9… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.