4.7medium
Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack
- Severity
- 4.7medium CVSS:3.1 by HashiCorp
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HashiCorp
- Also known as
- BIT-CONSUL-2026-5061
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HashiCorp Tooling | from 0.1.0 before 0.42.0 | CVE List |
| consul (Bitnami) | from 0.1.0 before 0.42.0 | Bitnami Vulnerability Database |
All scores
| HashiCorp | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
La biblioteca consul-template anterior a la versión 0.42.0 es vulnerable a un bypass de ruta de sandbox en el asistente de plantilla de archivo que puede permitir la lectura de un archivo fuera del sandbox. Esta vulnerabilidad (CVE-2026-5061) está corregida en consul-template 0.42.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-5061 changed 2026-05-12 | CVE Terms of Use |
| NVD | CVE-2026-5061 changed 2026-10-26 | Public domain |
| Bitnami Vulnerability Database | BIT-CONSUL-2026-5061 changed 2026-05-14 | Apache-2.0 |